diff options
author | shaun <shaun@FreeBSD.org> | 2007-01-24 23:17:32 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2007-01-24 23:17:32 +0800 |
commit | 217887b9c2bd360c52cd6d43fdbf393b7a7c3867 (patch) | |
tree | 280122b4a138cfc46d9415365e1fcf025b96d20f /sysutils | |
parent | 54ddb728178041ff3f7aa93cbcededb2ec856360 (diff) | |
download | freebsd-ports-gnome-217887b9c2bd360c52cd6d43fdbf393b7a7c3867.tar.gz freebsd-ports-gnome-217887b9c2bd360c52cd6d43fdbf393b7a7c3867.tar.zst freebsd-ports-gnome-217887b9c2bd360c52cd6d43fdbf393b7a7c3867.zip |
Ensure the sample config. removal line in pkg-plist succeeds if
portscout.conf has been modified.
PR: ports/108290
Submitted by: Alexander Logvinov <ports@logvinov.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/portscout/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/portscout/pkg-plist b/sysutils/portscout/pkg-plist index 657e79ea12bd..055b6d4e18fe 100644 --- a/sysutils/portscout/pkg-plist +++ b/sysutils/portscout/pkg-plist @@ -1,5 +1,5 @@ bin/portscout -@unexec cmp -s %D/etc/portscout.conf.sample %D/etc/portscout.conf && rm -f %D/etc/portscout.conf +@unexec if cmp -s %D/etc/portscout.conf.sample %D/etc/portscout.conf; then rm -f %D/etc/portscout.conf; fi @exec [ ! -f %D/etc/portscout.conf ] && cp -p %D/etc/portscout.conf.sample %D/etc/portscout.conf etc/portscout.conf.sample %%DATADIR%%/templates/index.html |