aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ratbox-services/pkg-plist
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-02 07:33:35 +0800
committerbapt <bapt@FreeBSD.org>2014-07-02 07:33:35 +0800
commit06a33ce857dee47a47e0b37e3a1fb05cd4a40d83 (patch)
treee52bc4a9a9fdb34dbbaaa8dbe0c3dae5112ccc38 /irc/ratbox-services/pkg-plist
parent8d8233e7449f931879725830bb6d46067b0c53a2 (diff)
downloadfreebsd-ports-gnome-06a33ce857dee47a47e0b37e3a1fb05cd4a40d83.tar.gz
freebsd-ports-gnome-06a33ce857dee47a47e0b37e3a1fb05cd4a40d83.tar.zst
freebsd-ports-gnome-06a33ce857dee47a47e0b37e3a1fb05cd4a40d83.zip
Support stage
Diffstat (limited to 'irc/ratbox-services/pkg-plist')
-rw-r--r--irc/ratbox-services/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/irc/ratbox-services/pkg-plist b/irc/ratbox-services/pkg-plist
index 6adb176b17d3..91d6c485810e 100644
--- a/irc/ratbox-services/pkg-plist
+++ b/irc/ratbox-services/pkg-plist
@@ -613,8 +613,6 @@ include/client.h
@dirrm %%DATADIR%%
@dirrmtry %%DBDIR%%
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
-@unexec if cmp -s "%D/etc/ratbox-services.conf.sample" "%D/etc/ratbox-services.conf"; then rm -f %D/etc/ratbox-services.conf; fi
-etc/ratbox-services.conf.sample
-@exec if [ ! -f "%D/etc/ratbox-services.conf" ] ; then cp -p "%D/%F" "%B/ratbox-services.conf"; fi
+@sample etc/ratbox-services.conf.sample
@unexec f="/var/log/ratbox-services.log"; if [ ! -s "$f" ]; then rm -f "$f"; fi
@unexec f="/var/run/ratbox-services.pid"; if [ ! -s "$f" ]; then rm -f "$f"; fi