diff --git a/scripts/installupdates.sh b/scripts/installupdates.sh index ddd2666..ea89e20 100755 --- a/scripts/installupdates.sh +++ b/scripts/installupdates.sh @@ -48,7 +48,7 @@ else fi echo "" -if [[ $(_isInstalledYay "Timeshift") == 1 ]] ;then +if [[ $(_isInstalledYay "timeshift") == "0" ]] ;then if gum confirm "DO YOU WANT TO CREATE A SNAPSHOT?" ;then echo "" c=$(gum input --placeholder "Enter a comment for the snapshot...") @@ -66,11 +66,6 @@ if [[ $(_isInstalledYay "Timeshift") == 1 ]] ;then echo "" fi -echo "-----------------------------------------------------" -echo "Start update" -echo "-----------------------------------------------------" -echo "" - yay notify-send "Update complete"