Update install_hooks.sh
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/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;
|
if test -e /etc/libvirt/hooks/qemu;
|
||||||
then
|
then
|
||||||
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
||||||
|
|||||||
Reference in New Issue
Block a user