Skip to content

Commit

Permalink
{+} update
Browse files Browse the repository at this point in the history
  • Loading branch information
csr13 committed Feb 18, 2024
1 parent 20df70f commit 43ab52f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,17 @@ function delete_service () {
########## Main exception/s ##############
if [ $1 = "tmux" ]; then
rm ~/.tmux.conf
printf "Remove tmux from system: yes/no";
printf "Remove tmux from system: yes/no: ";
read choice;
echo "$choice";
if [[ "$choice" =~ "yes|no" ]]; then
echo "Invalid option, not removing --remove manually instead.";
exit 1;
fi;
if [ $choice = yes ]; then
apt remove tmux;
else
echo "Not removing tmux."
fi;
exit 1;
fi;
########## Run uninstall.sh ##############
Expand Down

0 comments on commit 43ab52f

Please sign in to comment.