This commit is contained in:
Stephan Raabe 2024-03-01 10:47:14 +01:00
parent 32b5202898
commit 49f8e87141

View File

@ -1,4 +1,11 @@
#!/bin/bash #!/bin/bash
# _ _ _ _
# | | | |_ __ __| | __ _| |_ ___
# | | | | '_ \ / _` |/ _` | __/ _ \
# | |_| | |_) | (_| | (_| | || __/
# \___/| .__/ \__,_|\__,_|\__\___|
# |_|
#
clear clear
sleep 1 sleep 1
figlet "Update" figlet "Update"
@ -38,6 +45,7 @@ if gum confirm "Do you want to start the update now?" ;then
# Start the installatiom # Start the installatiom
if gum confirm "Do you want to start the update now?" ;then if gum confirm "Do you want to start the update now?" ;then
echo
echo "Starting the installation now..." echo "Starting the installation now..."
sleep 2 sleep 2
cd $HOME/Downloads/dotfiles-$v cd $HOME/Downloads/dotfiles-$v
@ -46,7 +54,6 @@ if gum confirm "Do you want to start the update now?" ;then
exit 130 exit 130
else else
echo "Installation canceled." echo "Installation canceled."
echo "You can start the installation manually with ~/Downloads/dotfiles-$version/install.sh"
exit; exit;
fi fi
elif [ $? -eq 130 ]; then elif [ $? -eq 130 ]; then