[DO NOT UPDATE] No more removing files twice
This commit is contained in:
parent
8ab66e9fa6
commit
f447751301
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue