diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-03-23 21:24:42 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-03-23 21:25:34 -0500 |
commit | 437ef2f8ef6acf820989ad44902d1838c679729d (patch) | |
tree | a7b124c6190dd54972a85b00cf5f8262c64bbe5e /app-emulation | |
parent | sci-libs/arpack: Add a live ebuild; ebuild maintenance (diff) | |
download | gentoo-437ef2f8ef6acf820989ad44902d1838c679729d.tar.gz gentoo-437ef2f8ef6acf820989ad44902d1838c679729d.tar.bz2 gentoo-437ef2f8ef6acf820989ad44902d1838c679729d.zip |
app-emulation/libvirt: address QA messages
* use printf instead of echo -n
* remove dyanmically created directories
Closes: https://bugs.gentoo.org/651296
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-guests.init-r2 | 2 | ||||
-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! |