From 6111325402063bafd15c1c31ae3633a4b459296a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 31 Oct 2018 07:29:35 +0100 Subject: [PATCH] Fix db names in ODK Build uninstall script --- opendatakit-build/uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendatakit-build/uninstall.sh b/opendatakit-build/uninstall.sh index 5488f41..8447063 100755 --- a/opendatakit-build/uninstall.sh +++ b/opendatakit-build/uninstall.sh @@ -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