mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
mc: run FTB installer from correct location
We have pushd'ed into the directory so do not prefix the shell script with the directory name.
This commit is contained in:
parent
c8eb0f5874
commit
ebe0a30c14
@ -87,11 +87,11 @@ fi
|
|||||||
|
|
||||||
if [ -e ${FTB_DIR}/FTBInstall.sh ]; then
|
if [ -e ${FTB_DIR}/FTBInstall.sh ]; then
|
||||||
pushd ${FTB_DIR}
|
pushd ${FTB_DIR}
|
||||||
sh ${FTB_DIR}/FTBInstall.sh
|
sh FTBInstall.sh
|
||||||
popd
|
popd
|
||||||
elif [ -e ${FTB_DIR}/Install.sh ]; then
|
elif [ -e ${FTB_DIR}/Install.sh ]; then
|
||||||
pushd ${FTB_DIR}
|
pushd ${FTB_DIR}
|
||||||
sh ${FTB_DIR}/Install.sh
|
sh Install.sh
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user