Lines 43-49
do
Link Here
|
43 |
echo "Upgrading database schema for $name" |
43 |
echo "Upgrading database schema for $name" |
44 |
KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ |
44 |
KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ |
45 |
PERL5LIB=$PERL5LIB \ |
45 |
PERL5LIB=$PERL5LIB \ |
46 |
"$CGI_PATH/installer/data/mysql/needs_update.pl" && "$CGI_PATH/installer/data/mysql/updatedatabase.pl" |
46 |
"$CGI_PATH/installer/data/mysql/needs_update.pl" && \ |
|
|
47 |
KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ |
48 |
PERL5LIB=$PERL5LIB \ |
49 |
"$CGI_PATH/installer/data/mysql/updatedatabase.pl" |
47 |
else |
50 |
else |
48 |
die "Error: Invalid instance name $name" |
51 |
die "Error: Invalid instance name $name" |
49 |
fi |
52 |
fi |
50 |
- |
|
|