[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
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