summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'slackware-bootstrap/bootstrap')
-rwxr-xr-xslackware-bootstrap/bootstrap10
1 files changed, 8 insertions, 2 deletions
diff --git a/slackware-bootstrap/bootstrap b/slackware-bootstrap/bootstrap
index 5cbe5f7..26eb9b6 100755
--- a/slackware-bootstrap/bootstrap
+++ b/slackware-bootstrap/bootstrap
@@ -22,6 +22,12 @@ fi
echo "working dir: $basedir"
-sh $basedir/user $username
-sh $basedir/sudo
+if [[ ! -f "~/.user-done" ]]; then
+ sh $basedir/user $username
+fi
+
+if [[ ! -f "~/.sudo-done" ]]; then
+ sh $basedir/sudo
+fi
+
sh $basedir/step1