Merge branch 'signoffs' into kcmaster
[koha_gimpoz] / debian / koha-common.postinst
index 0067ef9..64a7980 100644 (file)
@@ -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)