diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-03-16 12:53:42 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-03-16 12:53:42 +0800 |
commit | 8bb21d9ff6cae1619fff3b91dd483523b7211b9c (patch) | |
tree | 766fe31be64a1b3a81e57c4980353df0ef30ff28 /print | |
parent | f9d025afa5fd687a84824d71b7b323098fe36387 (diff) | |
download | freebsd-ports-gnome-8bb21d9ff6cae1619fff3b91dd483523b7211b9c.tar.gz freebsd-ports-gnome-8bb21d9ff6cae1619fff3b91dd483523b7211b9c.tar.zst freebsd-ports-gnome-8bb21d9ff6cae1619fff3b91dd483523b7211b9c.zip |
- fix option WITH_PAM
Reported by: ale
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-base/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/cups-base/pkg-plist b/print/cups-base/pkg-plist index 7c26a5d4c95f..31ff053c0eba 100644 --- a/print/cups-base/pkg-plist +++ b/print/cups-base/pkg-plist @@ -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 |