- Fix config file handling @unexec

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2014-07-23 06:58:16 +00:00
parent 510bb8d084
commit b92a454e4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362627

View File

@ -22,7 +22,7 @@ include/libteredo/teredo-udp.h
include/libteredo/tunnel.h
include/libtun6/tun6.h
etc/miredo/client-hook
@unexec [ -f %D/etc/miredo/miredo.conf ] && cmp -s %D/etc/miredo/miredo.conf %D/%%%EXAMPLESDIR%%/miredo.conf && rm %D/etc/miredo/miredo.conf || true
@unexec [ -f %D/etc/miredo/miredo.conf ] && cmp -s %D/etc/miredo/miredo.conf %D/%%EXAMPLESDIR%%/miredo.conf && rm %D/etc/miredo/miredo.conf || true
%%EXAMPLESDIR%%/miredo.conf
@exec [ -f %D/etc/miredo/miredo.conf ] || cp %B/miredo.conf %D/etc/miredo/miredo.conf
%%EXAMPLESDIR%%/miredo-server.conf