diff options
author | bapt <bapt@FreeBSD.org> | 2015-09-25 07:03:44 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-09-25 07:03:44 +0800 |
commit | 5cf19ee70c93ba942fc79a91430db60ce50a886f (patch) | |
tree | bfd844cfbc5620fea6ef12db66970b881e817d8e /net/hsflowd | |
parent | cb148447fafa0cc47eed768a69b7e298ea853adf (diff) | |
download | freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.tar.gz freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.tar.zst freebsd-ports-gnome-5cf19ee70c93ba942fc79a91430db60ce50a886f.zip |
Convert to @sample
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 |