diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-21 11:48:50 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-21 11:49:32 +0200 |
commit | 5e6d608ea9cfb8ee5d0a1afef95c547549f1f737 (patch) | |
tree | 7bb377e487d14e0d623cbaf89e1b73021121267f /net-print | |
parent | dev-java/aspectj: switched 1.9.6 to asm:9 (diff) | |
download | gentoo-5e6d608ea9cfb8ee5d0a1afef95c547549f1f737.tar.gz gentoo-5e6d608ea9cfb8ee5d0a1afef95c547549f1f737.tar.bz2 gentoo-5e6d608ea9cfb8ee5d0a1afef95c547549f1f737.zip |
net-print/cups: Fixed installation with USE="-pam"
Thanks-to: Xavier Miller <xavier.miller@cauwe.org>
Closes: https://bugs.gentoo.org/784770
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/cups-2.3.3_p2.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-print/cups/cups-2.3.3_p2.ebuild b/net-print/cups/cups-2.3.3_p2.ebuild index 20e54bc815d9..f0415242e5aa 100644 --- a/net-print/cups/cups-2.3.3_p2.ebuild +++ b/net-print/cups/cups-2.3.3_p2.ebuild @@ -227,7 +227,7 @@ multilib_src_install_all() { rm "${ED}"/etc/cups/cupsd.conf.default || die # clean out cups init scripts - rm -r "${ED}"/etc/{init.d/cups,rc*,pam.d/cups} || die + rm -r "${ED}"/etc/{init.d/cups,rc*} || die # install our init script local neededservices=( @@ -239,7 +239,8 @@ multilib_src_install_all() { sed -i -e "s/@neededservices@/${neededservices}/" "${T}"/cupsd || die doinitd "${T}"/cupsd - if use pam; then + if use pam ; then + rm "${ED}"/etc/pam.d/${PN} || die pamd_mimic_system cups auth account fi |