- fix option WITH_PAM

Reported by:	ale
This commit is contained in:
Dirk Meyer 2011-03-16 04:53:42 +00:00
parent 524339ff4f
commit 4b33814788
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271002

View File

@ -38,9 +38,9 @@ etc/cups/mime.types.N
etc/cups/snmp.conf.N
@exec if test ! -f %D/etc/cups/snmp.conf; then cp -p %D/etc/cups/snmp.conf.N %D/etc/cups/snmp.conf; fi
@exec chgrp cups %D/etc/cups
@unexec if cmp -s %D/etc/pam.d/cups.default %D/etc/pam.d/cups; then rm -f %D/etc/pam.d/cups ; fi
%%WITH_PAMD%%@unexec if cmp -s %D/etc/pam.d/cups.default %D/etc/pam.d/cups; then rm -f %D/etc/pam.d/cups ; fi
%%WITH_PAMD%%etc/pam.d/cups.default
@exec if [ ! -f %D/etc/pam.d/cups ] ; then cp -p %D/%F %B/cups; fi
%%WITH_PAMD%%@exec if [ ! -f %D/etc/pam.d/cups ] ; then cp -p %D/%F %B/cups; fi
bin/cancel
bin/cupstestdsc
bin/cupstestppd