diff options
author | Sam James <sam@gentoo.org> | 2021-12-20 05:28:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-20 05:28:25 +0000 |
commit | 9521d284eb55fbceaca5c2b78470a7ca783163d3 (patch) | |
tree | 47cd9bb9625b90cc507fac411354d8b12802b266 /sys-apps/shadow | |
parent | sys-fs/zfs-kmod: drop 2.1.1-r4 (diff) | |
download | gentoo-9521d284eb55fbceaca5c2b78470a7ca783163d3.tar.gz gentoo-9521d284eb55fbceaca5c2b78470a7ca783163d3.tar.bz2 gentoo-9521d284eb55fbceaca5c2b78470a7ca783163d3.zip |
sys-apps/shadow: don't install 'su' man page with USE=-su
Reported-by: josef64
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/shadow-4.10-r3.ebuild (renamed from sys-apps/shadow/shadow-4.10-r2.ebuild) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-apps/shadow/shadow-4.10-r2.ebuild b/sys-apps/shadow/shadow-4.10-r3.ebuild index 6f651117a693..020224692897 100644 --- a/sys-apps/shadow/shadow-4.10-r2.ebuild +++ b/sys-apps/shadow/shadow-4.10-r3.ebuild @@ -215,7 +215,11 @@ src_install() { # Remove manpages that are handled by other packages find "${ED}"/usr/share/man -type f \ '(' -name id.1 -o -name getspnam.3 ')' \ - -delete + -delete || die + + if ! use su ; then + find "${ED}"/usr/share/man -type f -name su.1 -delete || die + fi cd "${S}" || die dodoc ChangeLog NEWS TODO |