Update stage identifier

This commit is contained in:
JeremyStar™ 2024-06-02 21:22:21 +02:00
parent 07d47ec389
commit b3bc59cc71
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -9,19 +9,19 @@ UPDATER_VERSION=3
case "${STAGE}" in case "${STAGE}" in
1) 1)
echo ":: 1 | Unlinking files" echo ":: S1 | Unlinking files"
./uninstall.sh ./uninstall.sh
[[ -z "${UPDATER_VERSION}" ]] || [[ ! "${UPDATER_VERSION}" -gt "2" ]] && [[ -z "${UPDATER_VERSION}" ]] || [[ ! "${UPDATER_VERSION}" -gt "2" ]] &&
./uninstall.sh --remove-legacy-paths ./uninstall.sh --remove-legacy-paths
echo ":: 1 | Linking files" echo ":: S1 | Linking files"
./install.sh ./install.sh
# Remove legacy updater version file # Remove legacy updater version file
rm -rf "$HOME/.config/.jstm_dotfiles_updater" rm -rf "$HOME/.config/.jstm_dotfiles_updater"
echo ":: 1 | Update complete." echo ":: S1 | Update complete."
echo " Make sure to execute \"dotfiles-install-software\"" echo " Make sure to execute \"dotfiles-install-software\""
echo " to install/update required software." echo " to install/update required software."
echo " Append \"--gui\" to install required GUI stuff." echo " Append \"--gui\" to install required GUI stuff."