summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/step2
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-07-04 09:12:36 +0200
committernavewindre <boneyaard@gmail.com>2025-07-04 09:12:36 +0200
commit2b5c58cf83d4c751443db99cb39dcc65b8605984 (patch)
treeffc8cee41e244240d66385b466e4a1f285e81386 /slackware-bootstrap/step2
parent94291899afc6c7a079889beed2b9dbc79588a585 (diff)
fix
Diffstat (limited to 'slackware-bootstrap/step2')
-rwxr-xr-xslackware-bootstrap/step210
1 files changed, 5 insertions, 5 deletions
diff --git a/slackware-bootstrap/step2 b/slackware-bootstrap/step2
index 9ac5f3f..fc0c4b3 100755
--- a/slackware-bootstrap/step2
+++ b/slackware-bootstrap/step2
@@ -3,23 +3,23 @@ basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
kernelver="6.15.2"
-if [[ -f "~/.step2-done" ]]; then
+if [[ -f "$HOME/.step2-done" ]]; then
sh $basedir/step2-finish
exit
fi
rm /root/.bash_profile
-if [[ ! -f "~/.slpkg-done" ]]; then
+if [[ ! -f "$HOME/.slpkg-done" ]]; then
sh $basedir/slpkg
fi
-if [[ ! -f "~/.multilib-done" ]]; then
+if [[ ! -f "$HOME/.multilib-done" ]]; then
sh $basedir/multilib
fi
nreboot=0
-if [[ ! -f "~/.kernel-done" ]]; then
+if [[ ! -f "$HOME/.kernel-done" ]]; then
echo "============== [ kernel update ] ==============="
echo "you can choose to update your kernel"
echo "after system reboot."
@@ -34,7 +34,7 @@ if [[ ! -f "~/.kernel-done" ]]; then
fi
fi
-if [[ ! -f "~/.nvidia-done" ]]; then
+if [[ ! -f "$HOME/.nvidia-done" ]]; then
echo "================= [ nvidia driver ] ================="
echo "you can choose to install the nvidia driver"
echo "after system reboot."