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

(-)a/debian/scripts/koha-upgrade-schema (-5 / +8 lines)
Lines 39-46 fi Link Here
39
39
40
for name in "$@"
40
for name in "$@"
41
do
41
do
42
    echo "Upgrading database schema for $name"
42
    if is_instance $name; then
43
    KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \
43
        echo "Upgrading database schema for $name"
44
    PERL5LIB=$PERL5LIB \
44
        KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \
45
    "$CGI_PATH/installer/data/mysql/updatedatabase.pl"
45
        PERL5LIB=$PERL5LIB \
46
        "$CGI_PATH/installer/data/mysql/updatedatabase.pl"
47
    else
48
        die "Error: Invalid instance name $name"
49
    fi
46
done
50
done
47
- 

Return to bug 16749