From 2b5c58cf83d4c751443db99cb39dcc65b8605984 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 4 Jul 2025 09:12:36 +0200 Subject: fix --- slackware-bootstrap/step2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'slackware-bootstrap/step2') 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." -- cgit v1.2.3