diff --git a/install.sh b/install.sh index 5d5a998..5fc59a8 100755 --- a/install.sh +++ b/install.sh @@ -142,7 +142,7 @@ prompt_drive() { partition() { print_phase "Disk partitioning" - [ -e /bin/parted ] || download_parted + [ -f /bin/parted ] || download_parted echo -n "Partitioning drive..." parted --script "$DRIVE_TARGET" \ diff --git a/post-install.sh b/post-install.sh index bf93e93..f0bf9b9 100755 --- a/post-install.sh +++ b/post-install.sh @@ -401,7 +401,7 @@ append_line() { } configure_doas() { - [ -e /bin/doas ] || return 0 + [ -f /bin/doas ] || return 0 echo "Configuring doas..." prompt_user 'doas will be configured' local DOAS_USER="$USER_OUT"