aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsmasq/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnsmasq/pkg-plist')
-rw-r--r--dns/dnsmasq/pkg-plist12
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/dnsmasq/pkg-plist b/dns/dnsmasq/pkg-plist
index 2d6c26ffabc4..a6881d038e9d 100644
--- a/dns/dnsmasq/pkg-plist
+++ b/dns/dnsmasq/pkg-plist
@@ -1,4 +1,6 @@
sbin/dnsmasq
+@exec if [ ! -f %D/etc/dnsmasq.conf ]; then cp -p %D/%F %B/dnsmasq.conf; fi
+@unexec if cmp -s %D/etc/dnsmasq.conf %D/etc/dnsmasq.conf.example ; then rm -f %D/etc/dnsmasq.conf ; fi
etc/dnsmasq.conf.example
%%EXAMPLESDIR%%/dnslist/dhcp.css
%%EXAMPLESDIR%%/dnslist/dnslist.pl
@@ -7,3 +9,13 @@ etc/dnsmasq.conf.example
@dirrm %%EXAMPLESDIR%%/dnslist
@dirrm %%EXAMPLESDIR%%/dynamic-dnsmasq
@dirrm %%EXAMPLESDIR%%
+%%NLS%%share/locale/de/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/es/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/id/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/it/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/no/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/dnsmasq.mo