[Koha-patches] [PATCH] Upgrade Koha instance database schema when package is upgraded.
Lars Wirzenius
lars at catalyst.net.nz
Wed Jun 2 07:34:24 CEST 2010
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.
---
debian/koha-common.postinst | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst
index ffb2165..64a7980 100644
--- a/debian/koha-common.postinst
+++ b/debian/koha-common.postinst
@@ -9,3 +9,5 @@ then
fi
#DEBHELPER#
+
+koha-upgrade-schema $(koha-list)
--
1.7.1
More information about the Koha-patches
mailing list