Browse Source

Remove warnings from locale_install.sh

signals
Gavin Howard 3 years ago
parent
commit
9b1e080cf3
Signed by untrusted user who does not match committer: gavin
GPG Key ID: C08038BDF280D33E
  1. 6
      locale_install.sh

6
locale_install.sh

@ -58,7 +58,6 @@ for file in $locales_dir/*.msg; do
loc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
if [ ! -z "${locales##*$locale*}" ]; then
printf 'The following locale is not supported: %s\nContinuing...\n' "$locale"
continue
fi
@ -70,9 +69,6 @@ for file in $locales_dir/*.msg; do
file="$d/$link"
fi
err_msgs=$(gencat "$loc" "$file" 2>&1)
if [ "$err_msgs" != "" ]; then
printf '\nWarning: gencat produced the following errors:\n\n%s\n\n' "$err_msgs"
fi
gencat "$loc" "$file" > /dev/null 2>&1
done

Loading…
Cancel
Save