}
runWithEnv($sCmd, $aProcEnv);
+
+ $oDB->query('update import_status set indexed = true');
}
if ($aResult['update-address-levels']) {
$sSQL = 'update import_status set indexed = true';
$oDB->query($sSQL);
+ } else {
+ if ($aResult['import-osmosis-all']) {
+ echo "Error: --no-index cannot be used with continuous imports (--import-osmosis-all).\n";
+ exit(1);
+ }
}
$fDuration = time() - $fStartTime;