@@ -, +, @@ - Apply the patch series for bug 10942 and build a package. - Install the package. - Verify that a new config file, /etc/koha/koha-common.conf. - Follow the rest of the test plan for the main page (e.g., set AUTOMATIC_TRANSLATIONS_UPDATE and force a package upgrade). --- debian/koha-common.default | 11 ----------- debian/koha-common.postinst | 5 ++--- debian/templates/koha-common.conf | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 debian/templates/koha-common.conf --- a/debian/koha-common.default +++ a/debian/koha-common.default @@ -2,15 +2,4 @@ PERL5LIB="/usr/share/koha/lib" -## Automatic template translation update -# -# This variable controls whether template translations should -# be updated automatically on koha-common package upgrades. -# Options: 'yes' -# 'no' (default) -# Note: if you choose 'no' then you will have to issue -# $ koha-translate --update -# -#AUTOMATIC_TRANSLATIONS_UPDATE="no" - ## End of general koha-common default options --- a/debian/koha-common.postinst +++ a/debian/koha-common.postinst @@ -2,15 +2,14 @@ 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 +if [ -r /etc/koha/koha-common.conf ]; then + . /etc/koha/koha-common.conf fi conf=/etc/mysql/koha-common.cnf --- a/debian/templates/koha-common.conf +++ a/debian/templates/koha-common.conf @@ -0,0 +1,17 @@ +### Configuration settings for all Koha sites +# +# This file contains configuration settings that apply +# to all Koha sites on this server or which apply to +# the koha-common package itself. +# + +## Automatic template translation update +# +# This variable controls whether template translations should +# be updated automatically on koha-common package upgrades. +# Options: 'yes' +# 'no' (default) +# Note: if you choose 'no' then you will have to issue +# $ koha-translate --update +# +#AUTOMATIC_TRANSLATIONS_UPDATE="no" --