Thomas Bruederli
2014-01-29 f5007eca741477bf98354a351f7f7cfb9786adcb
bin/update.sh
@@ -157,7 +157,7 @@
  // check database schema
  if ($RCI->config['db_dsnw']) {
    echo "Executing database schema update.\n";
    system(INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
    system("php " . INSTALL_PATH . "bin/updatedb.sh --package=roundcube --version=" . $opts['version']
      . " --dir=" . INSTALL_PATH . DIRECTORY_SEPARATOR . "SQL", $res);
    $success = !$res;
@@ -165,7 +165,7 @@
  // index contacts for fulltext searching
  if ($opts['version'] && version_compare(version_parse($opts['version']), '0.6.0', '<')) {
    system(INSTALL_PATH . 'bin/indexcontacts.sh');
    system("php " . INSTALL_PATH . 'bin/indexcontacts.sh');
  }
  if ($success) {