nixos/libvirtd: don't use cp -n
This commit is contained in:
parent
afe337e62e
commit
57e1ea5a18
|
@ -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