diff options
| author | navewindre <boneyaard@gmail.com> | 2025-07-03 21:59:24 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-07-03 21:59:24 +0200 |
| commit | c6c0f342c889eee0e6db6a192a3b5aad510120a7 (patch) | |
| tree | 20bcd07d179cad849690d10026f80ab8d8724d97 /slackware-bootstrap/package-purge | |
| parent | 8d26fa137a69df86d033a2681f989557c1af32ea (diff) | |
split
Diffstat (limited to 'slackware-bootstrap/package-purge')
| -rw-r--r-- | slackware-bootstrap/package-purge | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/slackware-bootstrap/package-purge b/slackware-bootstrap/package-purge new file mode 100644 index 0000000..5f681b8 --- /dev/null +++ b/slackware-bootstrap/package-purge @@ -0,0 +1,30 @@ +#!/bin/sh +basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +echo "================= [ kde purge ] ==================" +echo "due to how install-new works, kde is always" +echo "installed during the first system update." +echo "if you would like, you can now purge the install." +echo "==================================================" + +echo "would you like to purge all kde packages now?" +read -p "enter your choice [y/n] (n): " choice +if [[ $choice == 'y' ]]; then + echo "purging kde packages ..." + slackpkg remove kde +fi + +echo "================== [ TeX packages ] ===============" +echo "similarly to kde, tex packages are always installed" +echo "during the first system update. if you would like," +echo "you can now purge the install." +echo "==================================================" + +echo "would you like to purge all tex packages now?" +read -p "enter your choice [y/n] (y): " choice +if [[ $choice == 'y' ]]; then + echo "purging tex packages ..." + slackpkg remove texlive +fi + +touch ~/.purge-done |
