#!/bin/sh set -e NAME="koha-common" # Default to "no" AUTOMATIC_TRANSLATIONS_UPDATE="no" . /usr/share/debconf/confmodule # Read configuration variable file if it is present if [ -r /etc/default/$NAME ]; then . /etc/default/$NAME fi conf=/etc/mysql/koha-common.cnf if [ ! -e "$conf" ] && [ ! -L "$conf" ] then ln -s debian.cnf "$conf" fi #DEBHELPER# koha-upgrade-schema $(koha-list) if [ "$AUTOMATIC_TRANSLATIONS_UPDATE" = "yes" ]; then for lang in $(koha-translate --list | grep -v -x "en"); do if koha-translate --update $lang; then echo "Updated the $lang translations." else cat <