[DO NOT UPDATE] No more removing files twice

This commit is contained in:
JeremyStar™ 2024-06-02 21:32:09 +02:00
parent 8ab66e9fa6
commit f447751301
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -10,10 +10,11 @@ LOCAL_UPDATER_VERSION=3
case "${STAGE}" in case "${STAGE}" in
1) 1)
echo ":: S1 | Unlinking files" echo ":: S1 | Unlinking files"
./uninstall.sh if [ -z "${UPDATER_VERSION}" ] || [ "${UPDATER_VERSION}" -lt "3" ]; then
[[ -z "${UPDATER_VERSION}" ]] || [[ "${UPDATER_VERSION}" -lt "3" ]] &&
./uninstall.sh --remove-legacy-paths ./uninstall.sh --remove-legacy-paths
else
./uninstall.sh
fi
echo ":: S1 | Linking files" echo ":: S1 | Linking files"
./install.sh ./install.sh