updated xmail po-deconf translation
[debian-ro-repo.git] / _bin / refresh_all
blob1ac5a32d9b6838ae2c619c392235293fae3bbeec
1 #!/bin/sh
3 if [ -d _bin ] && [ -f _bin/polibs ] ; then
4 . _bin/polibs
5 else
6 echo "This script has to be ran from the root of the l10n repo" >&2
7 echo "You either are in the wrong place or missing _bin/polibs" >&2
8 exit 2
9 fi
12 for I in * ; do
13 if [ -f "$I/$POCONF" ] ; then
14 cd $I
15 po_refresh
16 if diff -q $POLANG.po $POLANG.po.premerge ; then
17 rm $POLANG.po.premerge $POLANG.po.remote
18 else
19 echo "$I/$POLANG.po changed"
21 cd -
23 done