structure changes and update fixes & testing new base image
Some checks failed
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 10s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 13s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push forge (push) Successful in 1m10s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 1m21s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing (push) Failing after 1m35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Successful in 1m1s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push bukkit (push) Successful in 2m37s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been skipped
Some checks failed
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Successful in 10s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Successful in 13s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push forge (push) Successful in 1m10s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push neoforged (push) Successful in 1m21s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing (push) Failing after 1m35s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Successful in 1m1s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push bukkit (push) Successful in 2m37s
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been skipped
This commit is contained in:
@@ -21,23 +21,23 @@ if [ -e $MC_DIR/craftbukkit-$MC_VERSION.jar ]
|
||||
echo "WARNING ! craftbukkit-$MC_VERSION.jar is out of date/missing ... will download now."
|
||||
echo " "
|
||||
echo "INFO ! Cleaning old files."
|
||||
cd $MC_DIR
|
||||
rm -fr craftbukkit-*.jar run-*.sh
|
||||
wget --no-cache --show-progress --progress=bar:force:noscroll $INSTALLER_FILE -O craftbukkit-$MC_VERSION.jar
|
||||
chmod +x craftbukkit-$MC_VERSION.jar
|
||||
cd ..
|
||||
mkdir $MC_DIR/old-server-versions/
|
||||
mv $MC_DIR/craftbukkit-*.sh $MC_DIR/old-server-versions/
|
||||
wget --no-cache --show-progress --progress=bar:force:noscroll $INSTALLER_FILE -O $MC_DIR/craftbukkit-$MC_VERSION.jar
|
||||
chmod +x $MC_DIR/craftbukkit-$MC_VERSION.jar
|
||||
fi
|
||||
|
||||
# Looking for run-${MC_VERSION}.sh
|
||||
if [ -e /MCserver/run-$MC_VERSION.sh ]
|
||||
if [ -e $MC_DIR/run-$MC_VERSION.sh ]
|
||||
then
|
||||
echo " "
|
||||
echo "INFO ! run-$MC_VERSION.sh found ... will use existing file."
|
||||
else
|
||||
echo " "
|
||||
echo "WARNING ! run.sh is out of date/missing ... will download now."
|
||||
wget --no-cache --show-progress --progress=bar:force:noscroll $MC_RUN_FILE -O /MCserver/run-$MC_VERSION.sh
|
||||
chmod +x /MCserver/run-$MC_VERSION.sh
|
||||
mv $MC_DIR/run-*.sh $MC_DIR/old-server-versions/
|
||||
wget --no-cache --show-progress --progress=bar:force:noscroll $MC_RUN_FILE -O $MC_DIR/run-$MC_VERSION.sh
|
||||
chmod +x $MC_DIR/run-$MC_VERSION.sh
|
||||
fi
|
||||
|
||||
echo "INFO ! Setting game port."
|
||||
|
||||
Reference in New Issue
Block a user