From faf10e8fec3dcd4439a3a22cb2e3877c4b622b33 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 14 Aug 2011 19:02:33 +0000 Subject: Fix automatic db updates; trigger contact indexing after upgrade --- bin/update.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/update.sh') 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"; -- cgit v1.2.3