diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-22 18:32:19 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-01-22 18:32:42 +0300 |
commit | da820dfb26530eda166774cc927b81fb41532f16 (patch) | |
tree | 08460d39a9ae108dc2973993ec0b7cd0372b8205 /x11-misc | |
parent | dev-php/pecl-eio: Drop old (diff) | |
download | gentoo-da820dfb26530eda166774cc927b81fb41532f16.tar.gz gentoo-da820dfb26530eda166774cc927b81fb41532f16.tar.bz2 gentoo-da820dfb26530eda166774cc927b81fb41532f16.zip |
x11-misc/xscreensaver: install pam files conditionally
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.38-r3.ebuild (renamed from x11-misc/xscreensaver/xscreensaver-5.38-r2.ebuild) | 8 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.43-r5.ebuild (renamed from x11-misc/xscreensaver/xscreensaver-5.43-r4.ebuild) | 8 | ||||
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-5.44-r4.ebuild (renamed from x11-misc/xscreensaver/xscreensaver-5.44-r3.ebuild) | 8 |
3 files changed, 15 insertions, 9 deletions
diff --git a/x11-misc/xscreensaver/xscreensaver-5.38-r2.ebuild b/x11-misc/xscreensaver/xscreensaver-5.38-r3.ebuild index a71b8a78af4e..01313f497ec8 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.38-r2.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.38-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -134,8 +134,10 @@ src_install() { dodoc README{,.hacking} - use pam && fperms 755 /usr/bin/${PN} - pamd_mimic_system ${PN} auth + if use pam; then + fperms 755 /usr/bin/${PN} + pamd_mimic_system ${PN} auth + fi rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml } diff --git a/x11-misc/xscreensaver/xscreensaver-5.43-r4.ebuild b/x11-misc/xscreensaver/xscreensaver-5.43-r5.ebuild index e80dbdef6208..1ef07b385bf0 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.43-r4.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.43-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -137,8 +137,10 @@ src_install() { dodoc README{,.hacking} - use pam && fperms 755 /usr/bin/${PN} - pamd_mimic_system ${PN} auth + if use pam; then + fperms 755 /usr/bin/${PN} + pamd_mimic_system ${PN} auth + fi rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml } diff --git a/x11-misc/xscreensaver/xscreensaver-5.44-r3.ebuild b/x11-misc/xscreensaver/xscreensaver-5.44-r4.ebuild index 94304df08055..40e90de32b14 100644 --- a/x11-misc/xscreensaver/xscreensaver-5.44-r3.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-5.44-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -152,8 +152,10 @@ src_install() { dodoc README{,.hacking} - use pam && fperms 755 /usr/bin/${PN} - pamd_mimic_system ${PN} auth + if use pam; then + fperms 755 /usr/bin/${PN} + pamd_mimic_system ${PN} auth + fi rm -f "${ED}"/usr/share/${PN}/config/{electricsheep,fireflies}.xml } |