From f32df0b10284e9ccda5b874f113c34f105b8286f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Mar 2018 21:32:40 +0000 Subject: [PATCH] postgres install --- src/freedombone-utils-postgresql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/freedombone-utils-postgresql b/src/freedombone-utils-postgresql index 5f0267e0..7523a9aa 100755 --- a/src/freedombone-utils-postgresql +++ b/src/freedombone-utils-postgresql @@ -50,8 +50,8 @@ function get_postgresql_password { } function mesh_install_postgresql { - # shellcheck disable=SC2154 - chroot "$rootdir" apt-get -yq install "$POSTGRESQL_PACKAGES" + # shellcheck disable=SC2154,SC2086 + chroot "$rootdir" apt-get -yq install $POSTGRESQL_PACKAGES if [ ! -d "$rootdir/etc/postgresql" ]; then echo $"ERROR: postgresql does not appear to have installed." @@ -85,7 +85,8 @@ function install_postgresql { fi "${PROJECT_NAME}-pass" -u root -a postgresql -p "$POSTGRESQL_PASSWORD" - apt-get -yq install "$POSTGRESQL_PACKAGES" + # shellcheck disable=SC2086 + apt-get -yq install $POSTGRESQL_PACKAGES apt-get -yq remove --purge apache2-bin* if [ -d /etc/apache2 ]; then rm -rf /etc/apache2