Update stage identifier
This commit is contained in:
parent
07d47ec389
commit
b3bc59cc71
1 changed files with 3 additions and 3 deletions
|
@ -9,19 +9,19 @@ UPDATER_VERSION=3
|
|||
|
||||
case "${STAGE}" in
|
||||
1)
|
||||
echo ":: 1 | Unlinking files"
|
||||
echo ":: S1 | Unlinking files"
|
||||
./uninstall.sh
|
||||
|
||||
[[ -z "${UPDATER_VERSION}" ]] || [[ ! "${UPDATER_VERSION}" -gt "2" ]] &&
|
||||
./uninstall.sh --remove-legacy-paths
|
||||
|
||||
echo ":: 1 | Linking files"
|
||||
echo ":: S1 | Linking files"
|
||||
./install.sh
|
||||
|
||||
# Remove legacy updater version file
|
||||
rm -rf "$HOME/.config/.jstm_dotfiles_updater"
|
||||
|
||||
echo ":: 1 | Update complete."
|
||||
echo ":: S1 | Update complete."
|
||||
echo " Make sure to execute \"dotfiles-install-software\""
|
||||
echo " to install/update required software."
|
||||
echo " Append \"--gui\" to install required GUI stuff."
|
||||
|
|
Loading…
Reference in a new issue