diff options
author | Matthias Maier <tamiko@gentoo.org> | 2021-03-11 09:07:29 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2021-03-11 09:14:23 -0600 |
commit | 965a6ed9c1a235cf772e0af24aafdf78a6cfcf69 (patch) | |
tree | 5ac79bc538f0c3303d9bba9fc03181923345287e /app-emulation | |
parent | sys-kernel/gentoo-sources: Linux patch updates plus genpatches (diff) | |
download | gentoo-965a6ed9c1a235cf772e0af24aafdf78a6cfcf69.tar.gz gentoo-965a6ed9c1a235cf772e0af24aafdf78a6cfcf69.tar.bz2 gentoo-965a6ed9c1a235cf772e0af24aafdf78a6cfcf69.zip |
app-emulation/libvirt: remove rm clause
Closes: https://bugs.gentoo.org/show_bug.cgi?id=775467
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/libvirt/libvirt-7.1.0.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app-emulation/libvirt/libvirt-7.1.0.ebuild b/app-emulation/libvirt/libvirt-7.1.0.ebuild index 41c7b9275257..16755a56b8ac 100644 --- a/app-emulation/libvirt/libvirt-7.1.0.ebuild +++ b/app-emulation/libvirt/libvirt-7.1.0.ebuild @@ -282,11 +282,15 @@ src_test() { src_install() { meson_src_install - # Remove bogus, empty directories. They are either not used, or - # libvirtd is able to create them on demand - rm -r "${D}"/etc/sysconfig || die - rm -r "${D}"/var || die - rm -r "${D}"/run || die + # Depending on configuration option, libvirt will create some bogus + # directoreis. They are either not used, or libvirtd is able to create + # them on demand, so let's remove them. + # + # Note, we are using -f here so that rm does not fail or warn if the + # directory is nonexistent. + rm -rf "${D}"/etc/sysconfig + rm -rf "${D}"/var + rm -rf "${D}"/run # Fix up doc paths for revisions if [[ $PV != $PVR ]]; then |