Added pruning of 'config' to CF modpack upgrade

Fixes #626
This commit is contained in:
Geoff Bourne 2020-09-27 10:27:46 -05:00
parent 777ad31de0
commit b06f1115d4

View file

@ -28,7 +28,7 @@ if ! isTrue ${USE_MODPACK_START_SCRIPT:-true}; then
serverJar=$(find ${FTB_BASE_DIR} -not -name "forge*installer.jar" -name "forge*.jar") serverJar=$(find ${FTB_BASE_DIR} -not -name "forge*installer.jar" -name "forge*.jar")
if [[ "${serverJar}" ]]; then if [[ "${serverJar}" ]]; then
rm -rf $(dirname "${serverJar}")/{mods,*.jar,libraries,resources,scripts} rm -rf $(dirname "${serverJar}")/{mods,*.jar,libraries,resources,scripts,config}
fi fi
else else
needsInstall=false needsInstall=false