mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
3b45eafeaf
- Fix handling of configuration files - Bump PORTREVISION PR: 106170 Submitted by: trasz
37 lines
1.7 KiB
Plaintext
37 lines
1.7 KiB
Plaintext
@unexec if cmp -s %D/wired/etc/certificate.pem.sample %D/wired/etc/certificate.pem; then rm -f %D/wired/etc/certificate.pem; fi
|
|
@comment The file below gets created by pkg-install script, so there is no point
|
|
@comment in putting it into plist.
|
|
@unexec rm -f %D/wired/etc/certificate.pem.sample
|
|
@unexec if cmp -s %D/wired/etc/wired.conf.sample %D/wired/etc/wired.conf; then rm -f %D/wired/etc/wired.conf; fi
|
|
wired/etc/wired.conf.sample
|
|
@exec if [ ! -f %D/wired/etc/wired.conf ] ; then cp -p %D/%F %B/wired.conf; fi
|
|
@unexec if cmp -s %D/wired/etc/resolv.conf.sample %D/wired/etc/resolv.conf; then rm -f %D/wired/etc/resolv.conf; fi
|
|
wired/etc/resolv.conf.sample
|
|
@exec if [ ! -f %D/wired/etc/resolv.conf ] ; then cp -p %D/%F %B/resolv.conf; fi
|
|
wired/files/Uploads/.wired/type
|
|
wired/files/Drop Box/.wired/type
|
|
@unexec if cmp -s %D/wired/banlist.sample %D/wired/banlist; then rm -f %D/wired/banlist; fi
|
|
wired/banlist.sample
|
|
@exec if [ ! -f %D/wired/banlist ] ; then cp -p %D/%F %B/banlist; fi
|
|
@unexec if cmp -s %D/wired/groups.sample %D/wired/groups; then rm -f %D/wired/groups; fi
|
|
wired/groups.sample
|
|
@exec if [ ! -f %D/wired/groups ] ; then cp -p %D/%F %B/groups; fi
|
|
@unexec if cmp -s %D/wired/news.sample %D/wired/news; then rm -f %D/wired/news; fi
|
|
wired/news.sample
|
|
@exec if [ ! -f %D/wired/news ] ; then cp -p %D/%F %B/news; fi
|
|
@unexec if cmp -s %D/wired/users.sample %D/wired/users; then rm -f %D/wired/users; fi
|
|
wired/users.sample
|
|
@exec if [ ! -f %D/wired/users ] ; then cp -p %D/%F %B/users; fi
|
|
sbin/hl2wired
|
|
sbin/wired
|
|
bin/wiredctl
|
|
@exec mkdir -p %D/wired/tmp
|
|
@dirrmtry wired/tmp
|
|
@dirrmtry wired/files/Uploads/.wired
|
|
@dirrmtry wired/files/Uploads
|
|
@dirrmtry wired/files/Drop\ Box/.wired
|
|
@dirrmtry wired/files/Drop\ Box
|
|
@dirrmtry wired/files
|
|
@dirrmtry wired/etc
|
|
@dirrmtry wired
|