edex component.spec should not exit if radar table update is not neccessary (fresh install).
This commit is contained in:
parent
3e94446166
commit
cd4c3e73fc
1 changed files with 4 additions and 4 deletions
|
@ -197,11 +197,11 @@ END;
|
|||
/awips2/psql/bin/psql -U ${DB_OWNER} -d metadata -c "${SQL}"
|
||||
if [[ $? != 0 ]]
|
||||
then
|
||||
echo "Failed to update radar table."
|
||||
exit 1
|
||||
echo "Radar update not needed. Continuing..."
|
||||
else
|
||||
/awips2/psql/bin/psql -U ${DB_OWNER} -d metadata -c "UPDATE radar SET volumescannumber=0 WHERE volumescannumber IS NULL;"
|
||||
echo "Done"
|
||||
fi
|
||||
/awips2/psql/bin/psql -U ${DB_OWNER} -d metadata -c "UPDATE radar SET volumescannumber=0 WHERE volumescannumber IS NULL;"
|
||||
echo "Done"
|
||||
|
||||
# stop PostgreSQL if we started it.
|
||||
if [ "${I_STARTED_POSTGRESQL}" = "YES" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue