mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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>
This commit is contained in:
parent
93151efd17
commit
2dd8cf06bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183170
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user