postgres install
This commit is contained in:
parent
8c75814291
commit
f32df0b102
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue