diff options
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 |
