summaryrefslogtreecommitdiff
path: root/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:23:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:23:42 +0000
commit560ec0d226af8f0bad6bbe25a80b74c1b3ea6be1 (patch)
treec85a0ebc56427a4016738b55084998ea3ad3efe9 /sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild
parent34274f671301798384c780cb5d1c7beb49094513 (diff)
sys-fs/zfs-utils : install openrc conf.d file
Diffstat (limited to 'sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild')
-rw-r--r--sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild b/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild
index c9038d0f..61e6b4c1 100644
--- a/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild
+++ b/sys-fs/zfs-utils/zfs-utils-2.1.7-r2.ebuild
@@ -94,14 +94,11 @@ src_install() {
default
gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool
-
- use pam && { rm -rv "${ED}/unwanted_files" || die ; }
-
- use test-suite || { rm -r "${ED}/usr/share/zfs" || die ; }
-
dobashcomp contrib/bash_completion.d/zfs
bashcomp_alias zfs zpool
-
- # strip executable bit from conf.d file
- fperms 0644 /etc/conf.d/zfs
+ dodir etc/conf.d
+ insinto etc/conf.d
+ newins "${FILESDIR}"/zfs-conf.d zfs
+ use pam && { rm -rv "${ED}/unwanted_files" || die ; }
+ use test-suite || { rm -r "${ED}/usr/share/zfs" || die ; }
}