Quellcode durchsuchen

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram vor 7 Jahren
Ursprung
Commit
2e07c45147
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4
    3
      src/freedombone-utils-postgresql

+ 4
- 3
src/freedombone-utils-postgresql Datei anzeigen

@@ -50,8 +50,8 @@ function get_postgresql_password {
50 50
 }
51 51
 
52 52
 function mesh_install_postgresql {
53
-    # shellcheck disable=SC2154
54
-    chroot "$rootdir" apt-get -yq install "$POSTGRESQL_PACKAGES"
53
+    # shellcheck disable=SC2154,SC2086
54
+    chroot "$rootdir" apt-get -yq install $POSTGRESQL_PACKAGES
55 55
 
56 56
     if [ ! -d "$rootdir/etc/postgresql" ]; then
57 57
         echo $"ERROR: postgresql does not appear to have installed."
@@ -85,7 +85,8 @@ function install_postgresql {
85 85
     fi
86 86
     "${PROJECT_NAME}-pass" -u root -a postgresql -p "$POSTGRESQL_PASSWORD"
87 87
 
88
-    apt-get -yq install "$POSTGRESQL_PACKAGES"
88
+    # shellcheck disable=SC2086
89
+    apt-get -yq install $POSTGRESQL_PACKAGES
89 90
     apt-get -yq remove --purge apache2-bin*
90 91
     if [ -d /etc/apache2 ]; then
91 92
         rm -rf /etc/apache2