index 8c38ab65d7ba86cddf238ae4572ac3ed644cfb23..033ba84a3fcbb35167e3731820ff4aec61e171e7 100755 (executable)
--- a/gosa-core/update-locale
+++ b/gosa-core/update-locale
DICT=""
[ -r $DICT_FILE_ALL ] && DICT="-C $DICT_FILE_ALL"
[ ${#DICT} -eq 0 ] && [ -r $DICT_FILE_CORE ] && DICT="-C $DICT_FILE_CORE"
DICT=""
[ -r $DICT_FILE_ALL ] && DICT="-C $DICT_FILE_ALL"
[ ${#DICT} -eq 0 ] && [ -r $DICT_FILE_CORE ] && DICT="-C $DICT_FILE_CORE"
- msgmerge $DICT $f/messages.po locale/${l_path}messages.po --output-file=$f/messages.po.tmp
+ msgmerge $DICT $f/messages.po locale/${l_path}messages.po --output-file=$f/messages.po.tmp &> /dev/null
# Filter out duplicates
# Filter out duplicates
- msguniq $f/messages.po.tmp --output-file=$f/messages.po.new
+ msguniq $f/messages.po.tmp --output-file=$f/messages.po.new &> /dev/null
rm $f/messages.po.tmp
# Do an extra check for dummy dir 'locale/en/LC_MESSAGES'
rm $f/messages.po.tmp
# Do an extra check for dummy dir 'locale/en/LC_MESSAGES'