mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 16:45:28 +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).
|
# or the destination already exists (e.g. copied with --extra-files).
|
||||||
if [ ! -e "\$p" -o -e "/mnt/\$p" ]; then
|
if [ ! -e "\$p" -o -e "/mnt/\$p" ]; then
|
||||||
continue
|
continue
|
||||||
end
|
fi
|
||||||
cp -a "\$p" "/mnt/\$p"
|
cp -a "\$p" "/mnt/\$p"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user