Update install_hooks.sh

This commit is contained in:
AM 2021-04-09 11:50:38 +00:00
parent eb0dd93e13
commit ca39e86212

View File

@ -1,4 +1,9 @@
#!/bin/bash
if test -e /etc/libvirt/ && ! test -e /etc/libvirt/hooks;
then
mkdir -p /etc/libvirt/hooks;
fi
if test -e /etc/libvirt/hooks/qemu;
then
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup