From 147b0163d1ca8b95aba2463919afa8293e2daf88 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 4 Jul 2025 00:11:13 +0200 Subject: post funcs --- slackware-bootstrap/step1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'slackware-bootstrap/step1') 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 -- cgit v1.2.3