mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
nixos/libvirtd: don't use cp -n
This commit is contained in:
parent
afe337e62e
commit
57e1ea5a18
1 changed files with 3 additions and 1 deletions
|
@ -308,7 +308,9 @@ in
|
|||
libvirt/nwfilter/*.xml );
|
||||
do
|
||||
mkdir -p /var/lib/$(dirname $i) -m 755
|
||||
cp -npd ${cfg.package}/var/lib/$i /var/lib/$i
|
||||
if [ ! -e /var/lib/$i ]; then
|
||||
cp -pd ${cfg.package}/var/lib/$i /var/lib/$i
|
||||
fi
|
||||
done
|
||||
|
||||
# Copy generated qemu config to libvirt directory
|
||||
|
|
Loading…
Reference in a new issue