awips2/deltaScripts/17.1.1/DR5737/postgresql-9.5.3-upgrade/postgres_pre_upgrade.sh
2017-04-21 18:33:55 -06:00

8 lines
163 B
Bash
Executable file

#!/bin/bash
if [[ "$(id -u)" -ne 0 ]]; then
echo "$(basename $0): need to be root."
exit 1
fi
sudo -nu awips bash $(dirname $0)/_postgres_pre_upgrade.sh