Skip to content

Commit 94def95

Browse files
authored
Make sure download new version of FTB installer (#3186)
1 parent 755f1c5 commit 94def95

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/start-deployFTBA

+5-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ elif ! [[ ${FTB_MODPACK_VERSION_ID} =~ [0-9]+ ]]; then
6262
exit 1
6363
fi
6464

65-
if isTrue "$FTB_FORCE_REINSTALL" || ! [ -f "${ftbManifest}" ] || ! [ -f "${ftbInstallMarker}" ] || [ "$(cat "${ftbInstallMarker}")" != "${FTB_MODPACK_ID}=${FTB_MODPACK_VERSION_ID}" ]; then
66-
ftbInstaller=/data/ftb-installer
65+
if isTrue "$FTB_FORCE_REINSTALL" ||
66+
! [ -f "${ftbManifest}" ] ||
67+
! [ -f "${ftbInstallMarker}" ] ||
68+
[ "$(cat "${ftbInstallMarker}")" != "${FTB_MODPACK_ID}=${FTB_MODPACK_VERSION_ID}" ]; then
69+
ftbInstaller=/data/ftb-installer-v2
6770
arm=
6871
if ! [[ -f "${ftbInstaller}" ]]; then
6972
if [ "$(uname -m)" == "aarch64" ]; then

0 commit comments

Comments
 (0)