View | Details | Raw Unified | Return to bug 10942
Collapse All | Expand All

(-)a/debian/koha-common.default (-11 lines)
Lines 2-16 Link Here
2
2
3
PERL5LIB="/usr/share/koha/lib"
3
PERL5LIB="/usr/share/koha/lib"
4
4
5
## Automatic template translation update
6
#
7
# This variable controls whether template translations should
8
# be updated automatically on koha-common package upgrades.
9
# Options: 'yes'
10
#          'no'  (default)
11
# Note: if you choose 'no' then you will have to issue
12
#  $ koha-translate --update <lang_code>
13
#
14
#AUTOMATIC_TRANSLATIONS_UPDATE="no"
15
16
## End of general koha-common default options
5
## End of general koha-common default options
(-)a/debian/koha-common.postinst (-3 / +2 lines)
Lines 2-16 Link Here
2
2
3
set -e
3
set -e
4
4
5
NAME="koha-common"
6
# Default to "no"
5
# Default to "no"
7
AUTOMATIC_TRANSLATIONS_UPDATE="no"
6
AUTOMATIC_TRANSLATIONS_UPDATE="no"
8
7
9
. /usr/share/debconf/confmodule
8
. /usr/share/debconf/confmodule
10
9
11
# Read configuration variable file if it is present
10
# Read configuration variable file if it is present
12
if [ -r /etc/default/$NAME ]; then
11
if [ -r /etc/koha/koha-common.conf ]; then
13
    . /etc/default/$NAME
12
    . /etc/koha/koha-common.conf
14
fi
13
fi
15
14
16
conf=/etc/mysql/koha-common.cnf
15
conf=/etc/mysql/koha-common.cnf
(-)a/debian/templates/koha-common.conf (-1 / +17 lines)
Line 0 Link Here
0
- 
1
### Configuration settings for all Koha sites
2
#
3
# This file contains configuration settings that apply
4
# to all Koha sites on this server or which apply to
5
# the koha-common package itself.
6
#
7
8
## Automatic template translation update
9
#
10
# This variable controls whether template translations should
11
# be updated automatically on koha-common package upgrades.
12
# Options: 'yes'
13
#          'no' (default)
14
# Note: if you choose 'no' then you will have to issue
15
#  $ koha-translate --update <lang_code>
16
#
17
#AUTOMATIC_TRANSLATIONS_UPDATE="no"

Return to bug 10942