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/hsflowd | |
parent | f478ecfe884163aadca8368eba60c9978ad5c291 (diff) | |
download | ports-fa3feeb03b38edb055ca49c10c854671e9b58820.tar.gz ports-fa3feeb03b38edb055ca49c10c854671e9b58820.zip |
Convert to @sample
Notes
Notes:
svn path=/head/; revision=397786
Diffstat (limited to 'net/hsflowd')
-rw-r--r-- | net/hsflowd/pkg-plist | 4 |
1 files changed, 1 insertions, 3 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 |