File: install-mo

package info (click to toggle)
dnsmasq 2.92-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,120 kB
  • sloc: ansic: 37,139; perl: 643; sh: 632; makefile: 210; python: 136; xml: 53
file content (9 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
#!/bin/sh

for f in *.mo; do
  $2 -m 755 -d $1/${f%.mo}/LC_MESSAGES
  $2 -m 644 $f $1/${f%.mo}/LC_MESSAGES/dnsmasq.mo
  echo installing ${f%.mo}/LC_MESSAGES/dnsmasq.mo
done