X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=debian%2Fkoha-common.postinst;h=64a798086e4bcb9299355c561b6e87283dde2173;hb=c52225a5990bf9afb032bde8fa6ae0ddad0069b2;hp=0067ef947844becde8275a1763b61ca14fbbbbba;hpb=2ae1e3c21da0c41f9daccffe27fce7ed5be188d2;p=koha_gimpoz diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst index 0067ef9478..64a798086e 100644 --- a/debian/koha-common.postinst +++ b/debian/koha-common.postinst @@ -3,9 +3,11 @@ set -e conf=/etc/mysql/koha-common.cnf -if [ ! -e "$conf" ] +if [ ! -e "$conf" ] && [ ! -L "$conf" ] then - ln -s debian.cnf /etc/mysql/koha-common.cnf + ln -s debian.cnf "$conf" fi #DEBHELPER# + +koha-upgrade-schema $(koha-list)