mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
- Don't leave leftover config file if it hasn't changed
Reported by: pointyhat via pav Pointy hat to: swills
This commit is contained in:
parent
1a7ef97058
commit
dd86742dba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272655
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= beacon
|
||||
PORTVERSION= 1.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net perl5 mbone ipv6
|
||||
MASTER_SITES= SF/multicastbeacon/multicastbeacon/beacon%20v${PORTVERSION}
|
||||
|
||||
|
|
|
@ -9,7 +9,9 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/perllocal.pod
|
|||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net
|
||||
bin/beacon
|
||||
@unexec if cmp -s %D/etc/beacon.conf.sample %D/etc/beacon.conf; then rm -f %D/etc/beacon.conf; fi
|
||||
etc/beacon.conf.sample
|
||||
@exec if [ ! -f %D/etc/beacon.conf ] ; then cp -p %D/%F %B/beacon.conf; fi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
etc/rc.d/beacon
|
||||
|
|
Loading…
Add table
Reference in a new issue