diff options
-rwxr-xr-x | etc/guix-install.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 68e96166a4..3bf3a4a55e 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -68,7 +68,6 @@ REQUIRE=( "wget" "gpg" "grep" - "which" "sed" "sort" "getent" @@ -458,11 +457,11 @@ create_account() if id "$user" &>/dev/null; then _msg_info "user '$user' is already in the system, reset" usermod -g "$group" -G "$supplementary_groups" \ - -d /var/empty -s "$(which nologin)" \ + -d /var/empty -s "$(command -v nologin)" \ -c "$comment" "$user" else useradd -g "$group" -G "$supplementary_groups" \ - -d /var/empty -s "$(which nologin)" \ + -d /var/empty -s "$(command -v nologin)" \ -c "$comment" --system "$user" _msg_pass "user added <$user>" fi |