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

(-)a/debian/koha-common.init (-3 / +3 lines)
Lines 44-53 fi Link Here
44
. /lib/lsb/init-functions
44
. /lib/lsb/init-functions
45
45
46
# include helper functions
46
# include helper functions
47
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
47
if [ -f "/usr/sbin/koha-functions.sh" ]; then
48
    . "/usr/share/koha/bin/koha-functions.sh"
48
    . "/usr/sbin/koha-functions.sh"
49
else
49
else
50
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
50
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
51
    exit 1
51
    exit 1
52
fi
52
fi
53
53
(-)a/debian/koha-core.init (-3 / +3 lines)
Lines 44-53 fi Link Here
44
. /lib/lsb/init-functions
44
. /lib/lsb/init-functions
45
45
46
# include helper functions
46
# include helper functions
47
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
47
if [ -f "/usr/sbin/koha-functions.sh" ]; then
48
    . "/usr/share/koha/bin/koha-functions.sh"
48
    . "/usr/sbin/koha-functions.sh"
49
else
49
else
50
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
50
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
51
    exit 1
51
    exit 1
52
fi
52
fi
53
53
(-)a/debian/scripts/koha-create (-3 / +3 lines)
Lines 22-31 Link Here
22
set -e
22
set -e
23
23
24
# include helper functions
24
# include helper functions
25
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
25
if [ -f "/usr/sbin/koha-functions.sh" ]; then
26
    . "/usr/share/koha/bin/koha-functions.sh"
26
    . "/usr/sbin/koha-functions.sh"
27
else
27
else
28
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
28
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
29
    exit 1
29
    exit 1
30
fi
30
fi
31
31
(-)a/debian/scripts/koha-disable (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-dump (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-elasticsearch (-3 / +3 lines)
Lines 19-28 set -e Link Here
19
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
19
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
20
20
21
# include helper functions
21
# include helper functions
22
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
22
if [ -f "/usr/sbin/koha-functions.sh" ]; then
23
    . "/usr/share/koha/bin/koha-functions.sh"
23
    . "/usr/sbin/koha-functions.sh"
24
else
24
else
25
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
25
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
26
    exit 1
26
    exit 1
27
fi
27
fi
28
28
(-)a/debian/scripts/koha-email-disable (-3 / +3 lines)
Lines 19-28 Link Here
19
set -e
19
set -e
20
20
21
# include helper functions
21
# include helper functions
22
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
22
if [ -f "/usr/sbin/koha-functions.sh" ]; then
23
    . "/usr/share/koha/bin/koha-functions.sh"
23
    . "/usr/sbin/koha-functions.sh"
24
else
24
else
25
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
25
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
26
    exit 1
26
    exit 1
27
fi
27
fi
28
28
(-)a/debian/scripts/koha-email-enable (-3 / +3 lines)
Lines 19-28 Link Here
19
set -e
19
set -e
20
20
21
# include helper functions
21
# include helper functions
22
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
22
if [ -f "/usr/sbin/koha-functions.sh" ]; then
23
    . "/usr/share/koha/bin/koha-functions.sh"
23
    . "/usr/sbin/koha-functions.sh"
24
else
24
else
25
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
25
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
26
    exit 1
26
    exit 1
27
fi
27
fi
28
28
(-)a/debian/scripts/koha-enable (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-foreach (-3 / +3 lines)
Lines 21-30 set -e Link Here
21
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
21
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
22
22
23
# include helper functions
23
# include helper functions
24
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
24
if [ -f "/usr/sbin/koha-functions.sh" ]; then
25
    . "/usr/share/koha/bin/koha-functions.sh"
25
    . "/usr/sbin/koha-functions.sh"
26
else
26
else
27
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
27
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
28
    exit 1
28
    exit 1
29
fi
29
fi
30
30
(-)a/debian/scripts/koha-indexer (-3 / +3 lines)
Lines 24-33 set -e Link Here
24
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
24
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
25
25
26
# include helper functions
26
# include helper functions
27
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
27
if [ -f "/usr/sbin/koha-functions.sh" ]; then
28
    . "/usr/share/koha/bin/koha-functions.sh"
28
    . "/usr/sbin/koha-functions.sh"
29
else
29
else
30
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
30
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
31
    exit 1
31
    exit 1
32
fi
32
fi
33
33
(-)a/debian/scripts/koha-list (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-mysql (-3 / +3 lines)
Lines 22-31 set -e Link Here
22
umask 0077
22
umask 0077
23
23
24
# include helper functions
24
# include helper functions
25
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
25
if [ -f "/usr/sbin/koha-functions.sh" ]; then
26
    . "/usr/share/koha/bin/koha-functions.sh"
26
    . "/usr/sbin/koha-functions.sh"
27
else
27
else
28
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
28
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
29
    exit 1
29
    exit 1
30
fi
30
fi
31
31
(-)a/debian/scripts/koha-mysqlcheck (-3 / +3 lines)
Lines 22-31 set -e Link Here
22
umask 0077
22
umask 0077
23
23
24
# include helper functions
24
# include helper functions
25
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
25
if [ -f "/usr/sbin/koha-functions.sh" ]; then
26
    . "/usr/share/koha/bin/koha-functions.sh"
26
    . "/usr/sbin/koha-functions.sh"
27
else
27
else
28
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
28
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
29
    exit 1
29
    exit 1
30
fi
30
fi
31
31
(-)a/debian/scripts/koha-passwd (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-plack (-3 / +3 lines)
Lines 26-35 set -e Link Here
26
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
26
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
27
27
28
# include helper functions
28
# include helper functions
29
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
29
if [ -f "/usr/sbin/koha-functions.sh" ]; then
30
    . "/usr/share/koha/bin/koha-functions.sh"
30
    . "/usr/sbin/koha-functions.sh"
31
else
31
else
32
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
32
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
33
    exit 1
33
    exit 1
34
fi
34
fi
35
35
(-)a/debian/scripts/koha-rebuild-zebra (-3 / +3 lines)
Lines 23-32 set -e Link Here
23
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
23
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
24
24
25
# include helper functions
25
# include helper functions
26
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
26
if [ -f "/usr/sbin/koha-functions.sh" ]; then
27
    . "/usr/share/koha/bin/koha-functions.sh"
27
    . "/usr/sbin/koha-functions.sh"
28
else
28
else
29
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
29
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
30
    exit 1
30
    exit 1
31
fi
31
fi
32
32
(-)a/debian/scripts/koha-remove (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-reset-passwd (-3 / +3 lines)
Lines 21-30 Link Here
21
set -e
21
set -e
22
22
23
# include helper functions
23
# include helper functions
24
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
24
if [ -f "/usr/sbin/koha-functions.sh" ]; then
25
    . "/usr/share/koha/bin/koha-functions.sh"
25
    . "/usr/sbin/koha-functions.sh"
26
else
26
else
27
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
27
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
28
    exit 1
28
    exit 1
29
fi
29
fi
30
30
(-)a/debian/scripts/koha-restore (-3 / +3 lines)
Lines 20-29 Link Here
20
set -e
20
set -e
21
21
22
# include helper functions
22
# include helper functions
23
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
23
if [ -f "/usr/sbin/koha-functions.sh" ]; then
24
    . "/usr/share/koha/bin/koha-functions.sh"
24
    . "/usr/sbin/koha-functions.sh"
25
else
25
else
26
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
26
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
27
    exit 1
27
    exit 1
28
fi
28
fi
29
29
(-)a/debian/scripts/koha-sip (-3 / +3 lines)
Lines 25-34 set -e Link Here
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
26
26
27
# include helper functions
27
# include helper functions
28
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
28
if [ -f "/usr/sbin/koha-functions.sh" ]; then
29
    . "/usr/share/koha/bin/koha-functions.sh"
29
    . "/usr/sbin/koha-functions.sh"
30
else
30
else
31
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
31
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
32
    exit 1
32
    exit 1
33
fi
33
fi
34
34
(-)a/debian/scripts/koha-sitemap (-3 / +3 lines)
Lines 25-34 set -e Link Here
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
26
26
27
# include helper functions
27
# include helper functions
28
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
28
if [ -f "/usr/sbin/koha-functions.sh" ]; then
29
    . "/usr/share/koha/bin/koha-functions.sh"
29
    . "/usr/sbin/koha-functions.sh"
30
else
30
else
31
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
31
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
32
    exit 1
32
    exit 1
33
fi
33
fi
34
34
(-)a/debian/scripts/koha-translate (-3 / +3 lines)
Lines 23-32 Link Here
23
set -e
23
set -e
24
24
25
# include helper functions
25
# include helper functions
26
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
26
if [ -f "/usr/sbin/koha-functions.sh" ]; then
27
    . "/usr/share/koha/bin/koha-functions.sh"
27
    . "/usr/sbin/koha-functions.sh"
28
else
28
else
29
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
29
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
30
    exit 1
30
    exit 1
31
fi
31
fi
32
32
(-)a/debian/scripts/koha-upgrade-schema (-3 / +3 lines)
Lines 22-31 set -e Link Here
22
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
22
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
23
23
24
# include helper functions
24
# include helper functions
25
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
25
if [ -f "/usr/sbin/koha-functions.sh" ]; then
26
    . "/usr/share/koha/bin/koha-functions.sh"
26
    . "/usr/sbin/koha-functions.sh"
27
else
27
else
28
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
28
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
29
    exit 1
29
    exit 1
30
fi
30
fi
31
31
(-)a/debian/scripts/koha-worker (-3 / +3 lines)
Lines 23-32 set -e Link Here
23
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
23
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
24
24
25
# include helper functions
25
# include helper functions
26
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
26
if [ -f "/usr/sbin/koha-functions.sh" ]; then
27
    . "/usr/share/koha/bin/koha-functions.sh"
27
    . "/usr/sbin/koha-functions.sh"
28
else
28
else
29
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
29
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
30
    exit 1
30
    exit 1
31
fi
31
fi
32
32
(-)a/debian/scripts/koha-z3950-responder (-3 / +3 lines)
Lines 27-36 set -e Link Here
27
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
27
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
28
28
29
# include helper functions
29
# include helper functions
30
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
30
if [ -f "/usr/sbin/koha-functions.sh" ]; then
31
    . "/usr/share/koha/bin/koha-functions.sh"
31
    . "/usr/sbin/koha-functions.sh"
32
else
32
else
33
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
33
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
34
    exit 1
34
    exit 1
35
fi
35
fi
36
36
(-)a/debian/scripts/koha-zebra (-4 / +3 lines)
Lines 25-34 set -e Link Here
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
25
[ -r /etc/default/koha-common ] && . /etc/default/koha-common
26
26
27
# include helper functions
27
# include helper functions
28
if [ -f "/usr/share/koha/bin/koha-functions.sh" ]; then
28
if [ -f "/usr/sbin/koha-functions.sh" ]; then
29
    . "/usr/share/koha/bin/koha-functions.sh"
29
    . "/usr/sbin/koha-functions.sh"
30
else
30
else
31
    echo "Error: /usr/share/koha/bin/koha-functions.sh not present." 1>&2
31
    echo "Error: /usr/sbin/koha-functions.sh not present." 1>&2
32
    exit 1
32
    exit 1
33
fi
33
fi
34
34
35
- 

Return to bug 31055