diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2014-05-21 12:14:01 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2014-05-21 12:14:01 +0000 |
commit | a87c2d471e63896b7a1eea45804d61cfe41f0da4 (patch) | |
tree | 7a95efbc31fddce6d0443c8b50fc4cadc3523e7d /net/ldapscripts | |
parent | a92cc37b35bd8a15771df772bcbe5d2338ff4c19 (diff) | |
download | ports-a87c2d471e63896b7a1eea45804d61cfe41f0da4.tar.gz ports-a87c2d471e63896b7a1eea45804d61cfe41f0da4.zip |
Use @sample for my ports
Notes
Notes:
svn path=/head/; revision=354746
Diffstat (limited to 'net/ldapscripts')
-rw-r--r-- | net/ldapscripts/pkg-plist | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/ldapscripts/pkg-plist b/net/ldapscripts/pkg-plist index 63e6ec37e68c..62024272ebaa 100644 --- a/net/ldapscripts/pkg-plist +++ b/net/ldapscripts/pkg-plist @@ -1,9 +1,5 @@ -@unexec if cmp -s %D/%%ETCDIR%%/ldapscripts.conf %D/%%ETCDIR%%/ldapscripts.conf.sample; then rm -f %D/%%ETCDIR%%/ldapscripts.conf; fi -%%ETCDIR%%/ldapscripts.conf.sample -@exec if [ ! -f %D/%%ETCDIR%%/ldapscripts.conf ] ; then cp -p %D/%F %B/ldapscripts.conf; fi -@unexec if cmp -s %D/%%ETCDIR%%/ldapscripts.passwd %D/%%ETCDIR%%/ldapscripts.passwd.sample; then rm -f %D/%%ETCDIR%%/ldapscripts.passwd; fi -%%ETCDIR%%/ldapscripts.passwd.sample -@exec if [ ! -f %D/%%ETCDIR%%/ldapscripts.passwd ] ; then cp -p %D/%F %B/ldapscripts.passwd; fi +@sample %%ETCDIR%%/ldapscripts.conf.sample +@sample %%ETCDIR%%/ldapscripts.passwd.sample %%ETCDIR%%/ldapaddgroup.template.sample %%ETCDIR%%/ldapadduser.template.sample %%ETCDIR%%/ldapaddmachine.template.sample |