Thomas Bruederli
2015-04-17 a3644638aaf0418598196a870204e0b632a4c8ad
bin/update.sh
@@ -156,10 +156,8 @@
  // check database schema
  if ($RCI->config['db_dsnw']) {
    echo "Executing database schema update.\n";
    system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
      . " --dir=" . INSTALL_PATH . "SQL", $res);
    $success = !$res;
    $success = rcmail_utils::db_update(INSTALL_PATH . 'SQL', 'roundcube', $opts['version'],
        array('errors' => true));
  }
  // update composer dependencies
@@ -239,7 +237,7 @@
  // index contacts for fulltext searching
  if ($opts['version'] && version_compare(version_parse($opts['version']), '0.6.0', '<')) {
    system("php " . INSTALL_PATH . 'bin/indexcontacts.sh');
    rcmail_utils::indexcontacts();
  }
  if ($success) {