Fix db names in ODK Build uninstall script
This commit is contained in:
parent
b772f92c22
commit
6111325402
@ -8,7 +8,7 @@ rc-update -u
|
||||
|
||||
# Drop database and user
|
||||
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1
|
||||
echo 'DROP DATABASE opendatakit-build; DROP ROLE opendatakit-build;' | lxc-attach -u 5432 -g 5432 postgres -- psql
|
||||
echo 'DROP DATABASE opendatakitbuild; DROP ROLE opendatakitbuild;' | lxc-attach -u 5432 -g 5432 postgres -- psql
|
||||
[ ! -z ${STOP_POSTGRES} ] && service postgres stop
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user