diff options
| author | navewindre <boneyaard@gmail.com> | 2025-06-16 04:03:14 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-06-16 04:03:14 +0200 |
| commit | 062610bea43b8b31d30039e037f72506d78d5879 (patch) | |
| tree | 9db579130cce431cc3fd17415ff2298ae366baaa /slackware-bootstrap/slackpkg | |
| parent | d6c4365b8de32b621ac46074a9b69908b95686c0 (diff) | |
add themes n slackware bootstrap
Diffstat (limited to 'slackware-bootstrap/slackpkg')
| -rwxr-xr-x | slackware-bootstrap/slackpkg | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/slackware-bootstrap/slackpkg b/slackware-bootstrap/slackpkg new file mode 100755 index 0000000..b6af825 --- /dev/null +++ b/slackware-bootstrap/slackpkg @@ -0,0 +1,30 @@ +#!/bin/sh +basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +printf "\x1b[1;31m======================= [ \x1b[7;31m ATTENTION \x1b[0;0m\x1b[1;31m ] ========================\n\x1b[0;0m" +printf "\x1b[16;32mREAD CAREFULLY:\n\x1b[0;0m" +echo "this script will open a text editor to edit the mirror list" +echo "for the package manager." +echo "please uncomment a mirror from a location near you," +echo "by removing the '#' from the beginning of the line." +printf "\x1b[16;32mONLY CHOOSE ONE MIRROR !\n\x1b[0;0m" +echo "you can save the file by pressing ctrl+x." + +printf "\x1b[1;31m================================================================\n\x1b[0;0m" + +read -p "press enter to continue" +nano /etc/slackpkg/mirrors + +echo "running slackpkg update ..." +slackpkg update + +echo "============== [ system update ] ===============" +echo "simply press OK on the package selection screen" +echo "================================================" + +read -p "press enter to continue" +echo "running full system update ..." +slackpkg upgrade-all +cp $basedir/slackpkg-blacklist /etc/slackpkg/blacklist +slackpkg update +slackpkg install-new |
