Commits

Zhang Huangbin  committed 113582d

Code cleanup.

  • Participants
  • Parent commits 3ce4189

Comments (0)

Files changed (2)

File iRedMail/functions/postfix.sh

         postconf -e sender_canonical_maps=''
     fi
 
+    # Use ipv4 only
+    postconf -e inet_protocols='ipv4'
+
     # Do not set virtual_alias_domains.
     postconf -e virtual_alias_domains=''
 

File iRedMail/pkgs/get_all.sh

     create_repo_rhel
 
     # Check required commands, install related package if command doesn't exist.
-    check_pkg ${BIN_WHICH} ${PKG_WHICH} && \
-    check_pkg ${BIN_WGET} ${PKG_WGET} && \
+    check_pkg ${BIN_WHICH} ${PKG_WHICH}
+    check_pkg ${BIN_WGET} ${PKG_WGET}
+
 elif [ X"${DISTRO}" == X"SUSE" ]; then
     ECHO_INFO "Clean metadata of zypper repositories."
     zypper clean --metadata --raw-metadata