diff options
| author | navewindre <boneyaard@gmail.com> | 2025-07-04 00:11:13 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-07-04 00:11:13 +0200 |
| commit | 147b0163d1ca8b95aba2463919afa8293e2daf88 (patch) | |
| tree | 8dfa5586d2d84e2819ec8db217342abe796467e2 /slackware-bootstrap/step1 | |
| parent | f3ea61e058d0e05d70a7a78401e21ac06f486985 (diff) | |
post funcs
Diffstat (limited to 'slackware-bootstrap/step1')
| -rwxr-xr-x | slackware-bootstrap/step1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/slackware-bootstrap/step1 b/slackware-bootstrap/step1 index d48abac..cfb5e80 100755 --- a/slackware-bootstrap/step1 +++ b/slackware-bootstrap/step1 @@ -1,6 +1,8 @@ #!/bin/bash basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cp $basedir/post-functions.conf /etc/slackpkg/post-functions.conf + if [[ -f "~/.step1-done" ]]; then sh $basedir/step2 exit @@ -18,6 +20,8 @@ if [[ ! -f "~/.purge-done" ]]; then sh $basedir/package-purge fi +rm /etc/slackpkg/post-functions.conf + echo "sh $basedir/step2" >> /root/.bash_profile touch ~/.step1-done |
