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 );
|
libvirt/nwfilter/*.xml );
|
||||||
do
|
do
|
||||||
mkdir -p /var/lib/$(dirname $i) -m 755
|
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
|
done
|
||||||
|
|
||||||
# Copy generated qemu config to libvirt directory
|
# Copy generated qemu config to libvirt directory
|
||||||
|
|
Loading…
Reference in a new issue