]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - debian/postinst
update to qemu-kvm-1.1-rc2
[pve-qemu-kvm.git] / debian / postinst
index 65bc9e781aea6a8f57833c3398402deea360da96..ddf9452be9759e7f27e7cf1ac405a039ef9d8198 100755 (executable)
@@ -7,8 +7,10 @@ case "$1" in
   configure)
 
     # remove stale /etc/qemu (files are in /etc/kvm)
-    rm /etc/qemu/target-x86_64.conf || true
-    rmdir /etc/qemu || true
+    # file is now in /usr/share/kvm/cpus-x86_64.conf
+    rm -f /etc/qemu/target-x86_64.conf
+    if test -d /etc/qemu; then rmdir /etc/qemu; fi
+    rm -f /etc/kvm/target-x86_64.conf
 
     # There are three sub-cases:
     if test "${2+set}" != set; then