diff --git a/rpms/awips2.edex/Installer.edex/component.spec b/rpms/awips2.edex/Installer.edex/component.spec index 72dd04e9f2..bc1f7f2ffb 100644 --- a/rpms/awips2.edex/Installer.edex/component.spec +++ b/rpms/awips2.edex/Installer.edex/component.spec @@ -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