From f447751301b0b3801c0010fc15de7995a4ffbbb6 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 2 Jun 2024 21:32:09 +0200 Subject: [PATCH] [DO NOT UPDATE] No more removing files twice --- bin/updater | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/updater b/bin/updater index 421a0ce7..a29ff402 100755 --- a/bin/updater +++ b/bin/updater @@ -10,10 +10,11 @@ LOCAL_UPDATER_VERSION=3 case "${STAGE}" in 1) echo ":: S1 | Unlinking files" - ./uninstall.sh - - [[ -z "${UPDATER_VERSION}" ]] || [[ "${UPDATER_VERSION}" -lt "3" ]] && + if [ -z "${UPDATER_VERSION}" ] || [ "${UPDATER_VERSION}" -lt "3" ]; then ./uninstall.sh --remove-legacy-paths + else + ./uninstall.sh + fi echo ":: S1 | Linking files" ./install.sh