|
Line
Link Here
|
| 0 |
-- ./a/./debian/scripts/koha-create 2015-08-07 00:03:32.018341870 +0200 |
0 |
++ ./b/./debian/scripts/koha-create 2015-08-07 01:27:56.324204353 +0200 |
|
Lines 565-580
Link Here
|
| 565 |
eof |
565 |
eof |
| 566 |
fi #` |
566 |
fi #` |
| 567 |
if [ "$op" = use ] |
|
|
| 568 |
then |
| 569 |
mysql --defaults-extra-file=/etc/mysql/koha-common.cnf --force <<eof |
| 570 |
CREATE USER \`$mysqluser\`@'$mysql_hostname' IDENTIFIED BY '$mysqlpwd'; |
| 571 |
CREATE USER \`$mysqluser\`@'%' IDENTIFIED BY '$mysqlpwd'; |
| 572 |
GRANT ALL PRIVILEGES ON \`$mysqldb\`.* TO \`$mysqluser\`; |
| 573 |
FLUSH PRIVILEGES; |
| 574 |
eof |
| 575 |
fi #` |
| 576 |
|
| 577 |
# Generate and install Apache site-available file and log dir. |
567 |
# Generate and install Apache site-available file and log dir. |
| 578 |
generate_config_file apache-site.conf.in \ |
568 |
generate_config_file apache-site.conf.in \ |
| 579 |
"/etc/apache2/sites-available/$name.conf" |
569 |
"/etc/apache2/sites-available/$name.conf" |