mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-17 04:10:36 +03:00
fix shell syntax for copy-host-keys
This commit is contained in:
parent
60282db5c1
commit
a8d94ffa9a
@ -470,7 +470,7 @@ if [[ ${copy_host_keys-n} == "y" ]]; then
|
||||
# or the destination already exists (e.g. copied with --extra-files).
|
||||
if [ ! -e "\$p" -o -e "/mnt/\$p" ]; then
|
||||
continue
|
||||
end
|
||||
fi
|
||||
cp -a "\$p" "/mnt/\$p"
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user