summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/libvirt/files/libvirt-guests.init-r22
-rw-r--r--app-emulation/libvirt/libvirt-4.1.0-r3.ebuild (renamed from app-emulation/libvirt/libvirt-4.1.0-r2.ebuild)4
2 files changed, 2 insertions, 4 deletions
diff --git a/app-emulation/libvirt/files/libvirt-guests.init-r2 b/app-emulation/libvirt/files/libvirt-guests.init-r2
index 9db6d959fe75..845591899493 100644
--- a/app-emulation/libvirt/files/libvirt-guests.init-r2
+++ b/app-emulation/libvirt/files/libvirt-guests.init-r2
@@ -120,7 +120,7 @@ libvirtd_dom_stop() {
if [ "${shutdown_type}" = "shutdown" ]; then
counter=$((${counter} - 1))
fi
- echo -n "."
+ printf "."
done
if [ "${shutdown_type}" = "shutdown" ]; then
diff --git a/app-emulation/libvirt/libvirt-4.1.0-r2.ebuild b/app-emulation/libvirt/libvirt-4.1.0-r3.ebuild
index f5fdca4ddcd7..2b72c57c8481 100644
--- a/app-emulation/libvirt/libvirt-4.1.0-r2.ebuild
+++ b/app-emulation/libvirt/libvirt-4.1.0-r3.ebuild
@@ -338,9 +338,7 @@ src_install() {
# Remove bogus, empty directories. They are either not used, or
# libvirtd is able to create them on demand
rm -rf "${D}"/etc/sysconfig
- rm -rf "${D}"/var/cache
- rm -rf "${D}"/var/run
- rm -rf "${D}"/var/log
+ rm -rf "${D}"/var
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!