set import_status when indexing only

Makes sure that things work as expected when running
`--import-osmosis --no-index` and `--index` separately.

Fixes #1284.
This commit is contained in:
Sarah Hoffmann
2019-01-26 15:01:39 +01:00
parent c822012aad
commit 63781c4953

View File

@@ -305,6 +305,8 @@ if ($aResult['index']) {
}
runWithEnv($sCmd, $aProcEnv);
$oDB->query('update import_status set indexed = true');
}
if ($aResult['update-address-levels']) {