Upgrade Koha instance database schema when package is upgraded.
authorLars Wirzenius <lars@catalyst.net.nz>
Wed, 2 Jun 2010 05:34:24 +0000 (17:34 +1200)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 2 Jun 2010 11:14:42 +0000 (07:14 -0400)
If the new version of Koha requires a newer version of the database
schema, the Koha instances will work immediately after the package
is upgraded, rather than after the sysadmin has run koha-upgrade-schema
manually.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
debian/koha-common.postinst

index ffb2165..64a7980 100644 (file)
@@ -9,3 +9,5 @@ then
 fi
 
 #DEBHELPER#
+
+koha-upgrade-schema $(koha-list)