[Pkg-libvirt-commits] [libvirt] 02/04: Clear more directories on purge
Guido Guenther
agx at moszumanska.debian.org
Mon Jan 15 09:03:57 UTC 2018
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to annotated tag debian/4.0.0_rc1-1
in repository libvirt.
commit b2ce106b8b6961b8b164d6aebc749ae5532bae38
Author: Christian Ehrhardt <christian.ehrhardt at canonical.com>
Date: Thu Dec 14 14:15:06 2017 +0100
Clear more directories on purge
---
debian/libvirt-daemon-system.postrm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/libvirt-daemon-system.postrm b/debian/libvirt-daemon-system.postrm
index 179ed93..a0e0b29 100644
--- a/debian/libvirt-daemon-system.postrm
+++ b/debian/libvirt-daemon-system.postrm
@@ -39,10 +39,15 @@ case "$1" in
# Clean up created dirs if existend and emtpy, they contain precious
# data otherwise
- for dir in /var/lib/libvirt/qemu/save \
- /var/lib/libvirt/qemu/snapshot \
- /var/lib/libvirt/qemu/dump \
- /var/lib/libvirt/qemu \
+ for dir in /var/lib/libvirt/qemu/save \
+ /var/lib/libvirt/qemu/snapshot \
+ /var/lib/libvirt/qemu/dump \
+ /var/lib/libvirt/qemu/nvram \
+ /var/lib/libvirt/qemu/ram/libvirt/qemu \
+ /var/lib/libvirt/qemu/ram/libvirt \
+ /var/lib/libvirt/qemu/ram \
+ /var/lib/libvirt/qemu/channel \
+ /var/lib/libvirt/qemu \
/var/cache/libvirt/qemu; do
[ ! -d $dir ] || rmdir --ignore-fail-on-non-empty $dir
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git
More information about the Pkg-libvirt-commits
mailing list