This commit is contained in:
Stephan Raabe 2024-02-16 13:02:39 +01:00
parent ea26ad635b
commit ad8b401fc4

View File

@ -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"