Add uninstallers

This commit is contained in:
David Heinemeier Hansson
2024-06-10 20:58:46 +02:00
parent 6a93766d71
commit b42654f70e
14 changed files with 19 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
source $OMAKUB_PATH/ascii.sh source $OMAKUB_PATH/ascii.sh
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
SUB=$(gum choose "Help" "Theme" "Font" "Install" "Update" --height 8 --header "" | tr '[:upper:]' '[:lower:]') SUB=$(gum choose "Help" "Theme" "Font" "Install" "Uninstall" "Update" --height 9 --header "" | tr '[:upper:]' '[:lower:]')
else else
SUB=$1 SUB=$1
fi fi

2
bin/omakub-uninstall Normal file
View File

@@ -0,0 +1,2 @@
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall)
[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER

View File

@@ -0,0 +1 @@
sudo apt remove -y 1password

View File

@@ -0,0 +1 @@
sudo apt remove -y flameshot

View File

@@ -0,0 +1 @@
sudo apt remove -y gh

View File

@@ -0,0 +1 @@
sudo apt remove -y localsend

1
uninstall/app-pinta.sh Normal file
View File

@@ -0,0 +1 @@
sudo snap remove pinta

1
uninstall/app-spotify.sh Normal file
View File

@@ -0,0 +1 @@
sudo apt remove -y spotify-client

2
uninstall/app-typora.sh Normal file
View File

@@ -0,0 +1,2 @@
sudo apt remove typora
rm ~/.config/Typora

1
uninstall/app-vlc.sh Normal file
View File

@@ -0,0 +1 @@
sudo apt remove -y vlc

View File

@@ -0,0 +1 @@
sudo apt remove -y xournalpp

1
uninstall/app-zoom.sh Normal file
View File

@@ -0,0 +1 @@
sudo apt remove -y zoom

3
uninstall/apps-web.sh Normal file
View File

@@ -0,0 +1,3 @@
rm ~/.local/share/applications/WhatsApp.desktop
rm ~/.local/share/applications/Basecamp.desktop
rm ~/.local/share/applications/HEY.desktop

2
uninstall/docker.sh Normal file
View File

@@ -0,0 +1,2 @@
sudo apt remove -y docker.io docker-buildx
sudo groupdel docker