summaryrefslogtreecommitdiff
path: root/bin/update.sh
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-14 19:02:33 +0000
committerthomascube <thomas@roundcube.net>2011-08-14 19:02:33 +0000
commitfaf10e8fec3dcd4439a3a22cb2e3877c4b622b33 (patch)
treecdaad5cbd03c257208ab972d911e27b6659dbe70 /bin/update.sh
parent782d8593bd8cc511483e959519f84a389aee131f (diff)
Fix automatic db updates; trigger contact indexing after upgrade
Diffstat (limited to 'bin/update.sh')
-rwxr-xr-xbin/update.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 9f91c8ecd..52ac63734 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -162,6 +162,10 @@ if ($RCI->configured) {
}
}
+ // index contacts for fulltext searching
+ if (version_compare($opts['version'], '0.6', '<')) {
+ system(INSTALL_PATH . 'bin/indexcontacts.sh');
+ }
if ($success) {
echo "This instance of Roundcube is up-to-date.\n";