Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mylinuxforwork committed Nov 3, 2024
1 parent d80771f commit e58532b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions share/dotfiles/.config/ml4w/scripts/installupdates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ else
fi

if [[ $(_isInstalledAUR "timeshift") == "0" ]] ;then
echo
if gum confirm "DO YOU WANT TO CREATE A SNAPSHOT?" ;then
echo
c=$(gum input --placeholder "Enter a comment for the snapshot...")
Expand All @@ -47,10 +48,10 @@ if [[ $(_isInstalledAUR "timeshift") == "0" ]] ;then
echo ":: DONE. Snapshot $c created!"
echo
elif [ $? -eq 130 ]; then
echo ":: Snapshot canceled."
echo ":: Snapshot skipped."
exit 130
else
echo ":: Snapshot canceled."
echo ":: Snapshot skipped."
fi
echo
fi
Expand Down

0 comments on commit e58532b

Please sign in to comment.