Code

Allowed - un givenName and sn
[gosa.git] / gen_locale.sh
index 77c733109748595704caa2006970dfc708065fdf..e134e202133824fa90c00b77087daa3cfa74e302 100755 (executable)
@@ -40,8 +40,7 @@ echo "Merging po files with existing ones:"
 error=0
 for f in locale/??/LC_MESSAGES; do
   echo -n "* merging $f/messages.po: "
-  msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null
-  
+  [ -f $f/messages.po ] && msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null || /bin/true
   if [ $? -eq 0 ]; then
     echo "done";
   else