diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2007-01-24 15:17:32 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2007-01-24 15:17:32 +0000 |
commit | 2dd8cf06bb258302a851e80fc3dd8394a963b291 (patch) | |
tree | 296fbe366d2748d64a32844782a685deaa61cec2 /ports-mgmt/portscout | |
parent | - Project moved to Sourceforge (diff) |
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>
Notes
Notes:
svn path=/head/; revision=183170
Diffstat (limited to 'ports-mgmt/portscout')
-rw-r--r-- | ports-mgmt/portscout/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports-mgmt/portscout/pkg-plist b/ports-mgmt/portscout/pkg-plist index 657e79ea12bd..055b6d4e18fe 100644 --- a/ports-mgmt/portscout/pkg-plist +++ b/ports-mgmt/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 |