updated release notes for 3.14.0 beta
[koha.git] / debian / koha-common.postinst
index 0067ef9..7fa4513 100644 (file)
@@ -2,10 +2,18 @@
 
 set -e
 
+. /usr/share/debconf/confmodule
+
 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)
+
+db_stop
+
+exit 0