X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=packaging%2Ffreebsd%2Fpkg-plist;h=43346c1228f26061969dcc52e7a599f339ce6ba6;hb=c4b4cdd87413598ba415ceebba35ed7d9dc0d979;hp=70a9b1175c716452874c508a6a7a33ebfe8a5646;hpb=5c3ec72ee2c2f5a0d6d942b0998ba8cc3369f608;p=monkeysphere.git diff --git a/packaging/freebsd/pkg-plist b/packaging/freebsd/pkg-plist index 70a9b11..43346c1 100644 --- a/packaging/freebsd/pkg-plist +++ b/packaging/freebsd/pkg-plist @@ -7,8 +7,12 @@ bin/openpgp2ssh bin/monkeysphere-ssh-proxycommand bin/monkeysphere share/monkeysphere/common -etc/monkeysphere/monkeysphere-server.conf -etc/monkeysphere/monkeysphere.conf +@unexec if cmp -s %D/etc/monkeysphere/monkeysphere.conf.sample %D/etc/monkeysphere/monkeysphere.conf; then rm -f %D/etc/monkeysphere/monkeysphere.conf; fi +etc/monkeysphere/monkeysphere.conf.sample +@exec if [ ! -f %D/etc/monkeysphere/monkeysphere.conf ] ; then cp -p %D/%F %B/monkeysphere.conf; fi +@unexec if cmp -s %D/etc/monkeysphere/monkeysphere-server.conf.sample %D/etc/monkeysphere/monkeysphere-server.conf; then rm -f %D/etc/monkeysphere/monkeysphere-server.conf; fi +etc/monkeysphere/monkeysphere-server.conf.sample +@exec if [ ! -f %D/etc/monkeysphere/monkeysphere-server.conf ] ; then cp -p %D/%F %B/monkeysphere-server.conf; fi @dirrm share/doc/monkeysphere @dirrm share/monkeysphere @dirrm etc/monkeysphere