summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/step1
diff options
context:
space:
mode:
Diffstat (limited to 'slackware-bootstrap/step1')
-rwxr-xr-xslackware-bootstrap/step14
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