Koha/debian/koha-common.postinst
Lars Wirzenius 2ae1e3c21d Use /etc/mysql/koha-common.cnf instead of the Debian one.
koha-common.postinst now creates a symlink to the Debian one.
The sysadmin may replace that manually with something that allows
Koha to access a remote mysql server.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-25 08:04:32 -04:00

11 lines
140 B
Bash

#!/bin/sh
set -e
conf=/etc/mysql/koha-common.cnf
if [ ! -e "$conf" ]
then
ln -s debian.cnf /etc/mysql/koha-common.cnf
fi
#DEBHELPER#