Skip to content

Commit 9c6964b

Browse files
committed
bash is no longer required
since nixos-images upgraded: nix-community/nixos-images#98
1 parent 840b980 commit 9c6964b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/nixos-anywhere.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ has_sudo=\$(has sudo)
235235
has_wget=\$(has wget)
236236
has_curl=\$(has curl)
237237
has_setsid=\$(has setsid)
238-
has_bash=\$(has bash)
239238
FACTS
240239
SSH
241240
); then
@@ -256,10 +255,6 @@ if [[ ${has_tar-n} == "n" ]]; then
256255
abort "no tar command found, but required to unpack kexec tarball"
257256
fi
258257

259-
if [[ ${has_bash-n} == "n" ]]; then
260-
abort "no bash command found, but required for running the reboot script"
261-
fi
262-
263258
if [[ ${has_setsid-n} == "n" ]]; then
264259
abort "no setsid command found, but required to run the kexec script under a new session"
265260
fi

0 commit comments

Comments
 (0)