From c6c0f342c889eee0e6db6a192a3b5aad510120a7 Mon Sep 17 00:00:00 2001 From: navewindre Date: Thu, 3 Jul 2025 21:59:24 +0200 Subject: split --- slackware-bootstrap/package-purge | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 slackware-bootstrap/package-purge (limited to 'slackware-bootstrap/package-purge') 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 -- cgit v1.2.3