@@ -, +, @@ - Set AUTOMATIC_TRANSLATIONS_UPDATE="no" so the warning normally shows - Redirect STDOUT to /dev/null: dpkg -i koha-common...deb > /dev/null - Apply the patch, rebuild package - Redirect STDOUT to /dev/null: dpkg -i koha-common...deb > /dev/null - Redirect STDERR to /dev/null: dpkg -i koha-common...deb 2> /dev/null - Verify that previous tests pass --- debian/koha-common.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/debian/koha-common.postinst +++ a/debian/koha-common.postinst @@ -59,7 +59,7 @@ if [ "$AUTOMATIC_TRANSLATIONS_UPDATE" = "yes" ]; then if koha-translate --update $lang; then echo "Updated the $lang translations." else - cat <&2 ERROR: an error was found when updating '$lang' translations. Please manually run 'koha-translate --update $lang'. Run man koha-translate for more options. EOF @@ -69,7 +69,7 @@ else # no auto-update, check update needed and warn if needed if koha-translate --list | grep -v -q -x "en"; then # translations installed, update needed - cat <&2 Warning: template translations are not set to be automatically updated. Please manually run 'koha-translate --update lang_code' to update them. --