summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-03-22 20:33:20 -0400
committerTim Harder <radhermit@gentoo.org>2018-03-22 21:34:52 -0400
commita5f198a2cef6002cb8f8400153dc3b73977aff92 (patch)
tree329b2ca46daabdab076ff016bec937931a522d94 /sys-fs
parentsys-fs/fuse: Use python-any-r1.eclass instead of python-single-r1.eclass. (diff)
downloadgentoo-a5f198a2cef6002cb8f8400153dc3b73977aff92.tar.gz
gentoo-a5f198a2cef6002cb8f8400153dc3b73977aff92.tar.bz2
gentoo-a5f198a2cef6002cb8f8400153dc3b73977aff92.zip
sys-fs/fuse: use udev eclass to determine udev dir for removal
Closes: https://bugs.gentoo.org/651210
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/fuse/fuse-2.9.7-r1.ebuild2
-rw-r--r--sys-fs/fuse/fuse-3.2.1.ebuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/fuse/fuse-2.9.7-r1.ebuild b/sys-fs/fuse/fuse-2.9.7-r1.ebuild
index 8ab358ad11ff..b27dc23c1413 100644
--- a/sys-fs/fuse/fuse-2.9.7-r1.ebuild
+++ b/sys-fs/fuse/fuse-2.9.7-r1.ebuild
@@ -64,7 +64,7 @@ src_install() {
prune_libtool_files
# installed via fuse-common
- rm -r "${ED%/}"/{etc,lib} || die
+ rm -r "${ED%/}"/{etc,$(get_udevdir)} || die
rm "${ED%/}"/usr/share/man/man8/mount.fuse.* || die
rm "${ED%/}"/sbin/mount.fuse || die
diff --git a/sys-fs/fuse/fuse-3.2.1.ebuild b/sys-fs/fuse/fuse-3.2.1.ebuild
index 2514b6960a78..4012fc673b62 100644
--- a/sys-fs/fuse/fuse-3.2.1.ebuild
+++ b/sys-fs/fuse/fuse-3.2.1.ebuild
@@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
-inherit meson multilib-minimal flag-o-matic python-any-r1
+inherit meson multilib-minimal flag-o-matic udev python-any-r1
DESCRIPTION="An interface for filesystems implemented in userspace"
HOMEPAGE="https://github.com/libfuse/libfuse"
@@ -62,7 +62,7 @@ multilib_src_install_all() {
einstalldocs
# installed via fuse-common
- rm -r "${ED%/}"/{etc,lib} || die
+ rm -r "${ED%/}"/{etc,$(get_udevdir)} || die
rm "${ED%/}"/usr/sbin/mount.fuse3 || die
# handled by the device manager