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/step1 | |
| parent | 8d26fa137a69df86d033a2681f989557c1af32ea (diff) | |
split
Diffstat (limited to 'slackware-bootstrap/step1')
| -rw-r--r-- | slackware-bootstrap/step1 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/slackware-bootstrap/step1 b/slackware-bootstrap/step1 index 8085554..d48abac 100644 --- a/slackware-bootstrap/step1 +++ b/slackware-bootstrap/step1 @@ -1,9 +1,25 @@ #!/bin/bash basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -sh $basedir/slackpkg +if [[ -f "~/.step1-done" ]]; then + sh $basedir/step2 + exit +fi + +if [[ ! -f "~/.stable-done" ]]; then + sh $basedir/update-stable +fi + +if [[ ! -f "~/.current-done" ]]; then + sh $basedir/update-current +fi + +if [[ ! -f "~/.purge-done" ]]; then + sh $basedir/package-purge +fi echo "sh $basedir/step2" >> /root/.bash_profile +touch ~/.step1-done echo "=================== [ system reboot ] ==================" printf "\x1b[1;31mREAD CAREFULLY:\033[0m\n" |
