localization rpm handling radar_spatial again

This commit is contained in:
mjames-upc 2017-04-21 11:14:12 -06:00
parent fd35f1209e
commit a40a64fff1

View file

@ -16,6 +16,7 @@ Packager: %{_build_site}
AutoReq: no
Provides: %{_component_name}
Requires: awips2-edex, awips2-edex-radar, awips2-edex-upc
Requires: awips2-edex-shapefiles
Obsoletes: awips2-localization-OAX < 16.1.4
@ -205,9 +206,10 @@ fi
echo "INFO: NHAdomain and StormSurgeWW shapefiles were successfully imported." >> ${log_file}
#PSQL="/awips2/psql/bin/psql"
#echo "Updating metadata.radar_spatial from common_static/base/radar/radarSpatial.sql"
#${PSQL} -U awips -d metadata -q -f /awips2/edex/data/utility/common_static/base/radar/radarSpatial.sql >> ${log_file} 2>&1
PSQL="/awips2/psql/bin/psql"
echo "Updating metadata.radar_spatial from common_static/base/radar/radarSpatial.sql"
${PSQL} -U awips -d metadata -q -f /awips2/edex/data/utility/common_static/base/radar/radarSpatial.sql >> ${log_file} 2>&1
if [ "${I_STARTED_POSTGRESQL}" = "YES" ]; then
echo "" >> ${log_file}
su ${DB_OWNER} -c \