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