updates to java
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 29s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 34s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push bukkit (push) Successful in 34s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push forge (push) Successful in 35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing (push) Successful in 33s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push quilt (push) Successful in 33s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Successful in 28s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Successful in 8s
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been cancelled
Build and Push Minecraft Docker Images on Debian-base update / Docker prune (vm-docker-build2) (push) Successful in 4s
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 29s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 34s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push bukkit (push) Successful in 34s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push forge (push) Successful in 35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing (push) Successful in 33s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push quilt (push) Successful in 33s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Successful in 28s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Successful in 8s
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been cancelled
Build and Push Minecraft Docker Images on Debian-base update / Docker prune (vm-docker-build2) (push) Successful in 4s
This commit is contained in:
@@ -10,6 +10,29 @@ EULA_MARKER=$MC_DIR/.eula_accepted
|
||||
INSTALLER_FILE=https://quiltmc.org/api/v1/download-latest-installer/java-universal
|
||||
MC_RUN_FILE=https://gitea.fithwum.tech/fithwum/minecraft/raw/branch/master/quilt/run.sh
|
||||
|
||||
# Install java
|
||||
if dpkg -s openjdk-$JAVA_VERSION-jre-headless &> /dev/null
|
||||
then
|
||||
echo "INFO ! openjdk-$JAVA_VERSION-jre-headless installed ... moving on."
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! openjdk-$JAVA_VERSION-jre-headless not installed ... will install now."
|
||||
apt-get update
|
||||
apt-get --no-install-recommends -y install openjdk-$JAVA_VERSION-jre-headless
|
||||
fi
|
||||
|
||||
# if dpkg -s msopenjdk-$JAVA_VERSION &> /dev/null
|
||||
# then
|
||||
# echo "INFO ! msopenjdk-$JAVA_VERSION installed ... moving on."
|
||||
# else
|
||||
# echo " "
|
||||
# echo "WARNING ! msopenjdk-$JAVA_VERSION not installed ... will install now."
|
||||
# wget https://packages.microsoft.com/config/debian/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||
# dpkg -i packages-microsoft-prod.deb \
|
||||
# apt-get update && apt-get install -y msopenjdk-25 \
|
||||
# apt-get -y update && apt-get -y --fix-broken install
|
||||
# fi
|
||||
|
||||
# Main install (Debian).
|
||||
# Check for server files and download if needed.
|
||||
if [ -e $MC_DIR/quilt-installer-$QUILT_VERSION.jar ]
|
||||
|
||||
Reference in New Issue
Block a user