|
Lines 4-9
set -e
Link Here
|
| 4 |
|
4 |
|
| 5 |
. /usr/share/debconf/confmodule |
5 |
. /usr/share/debconf/confmodule |
| 6 |
|
6 |
|
|
|
7 |
if apachectl -M 2> /dev/null | \ |
| 8 |
grep -v -q "rewrite_module" ; then |
| 9 |
|
| 10 |
# mod_rewrite not enabled |
| 11 |
a2enmod rewrite > /dev/null 2>&1 && |
| 12 |
echo "mod_rewrite enabled" |
| 13 |
# reload apache config |
| 14 |
service apache2 reload |
| 15 |
|
| 16 |
fi |
| 17 |
|
| 7 |
conf=/etc/mysql/koha-common.cnf |
18 |
conf=/etc/mysql/koha-common.cnf |
| 8 |
if [ ! -e "$conf" ] && [ ! -L "$conf" ] |
19 |
if [ ! -e "$conf" ] && [ ! -L "$conf" ] |
| 9 |
then |
20 |
then |
| 10 |
- |
|
|