diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-09-24 23:03:44 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-09-24 23:03:44 +0000 |
commit | fa3feeb03b38edb055ca49c10c854671e9b58820 (patch) | |
tree | bfd844cfbc5620fea6ef12db66970b881e817d8e /net | |
parent | f478ecfe884163aadca8368eba60c9978ad5c291 (diff) | |
download | ports-fa3feeb03b38edb055ca49c10c854671e9b58820.tar.gz ports-fa3feeb03b38edb055ca49c10c854671e9b58820.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/hsflowd/pkg-plist | 4 | ||||
-rw-r--r-- | net/nss_ldap/pkg-plist | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/net/hsflowd/pkg-plist b/net/hsflowd/pkg-plist index ea91f25937e8..fd9f4fad6e4f 100644 --- a/net/hsflowd/pkg-plist +++ b/net/hsflowd/pkg-plist @@ -1,5 +1,3 @@ -@unexec if cmp -s %D/%%ETCDIR%%/hsflowd.conf %D/%%ETCDIR%%/hsflowd.conf.sample; then rm -f %D/%%ETCDIR%%/hsflowd.conf; fi -%%ETCDIR%%/hsflowd.conf.sample -@exec if [ ! -f %D/%%ETCDIR%%/hsflowd.conf ]; then cp -p %D/%F %B/hsflowd.conf; fi +@sample %%ETCDIR%%/hsflowd.conf.sample sbin/hsflowd @unexec if [ -d %%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf %%ETCDIR%%`` to remove any configuration files."; fi diff --git a/net/nss_ldap/pkg-plist b/net/nss_ldap/pkg-plist index 3da0ec815f7c..1ba99561fa22 100644 --- a/net/nss_ldap/pkg-plist +++ b/net/nss_ldap/pkg-plist @@ -1,5 +1,3 @@ lib/nss_ldap.so.1 -@unexec if cmp -s %D/etc/nss_ldap.conf %D/etc/nss_ldap.conf.sample; then rm -f %D/etc/nss_ldap.conf; fi -etc/nss_ldap.conf.sample -@exec if [ ! -f %D/etc/nss_ldap.conf ]; then cp %B/%f %D/etc/nss_ldap.conf; fi +@sample etc/nss_ldap.conf.sample man/man5/nss_ldap.5.gz |