Commits

Zhang Huangbin committed 6eadb09

It now works on Ubuntu 12.10 (quantal).

Comments (0)

Files changed (4)

 iRedMail-0.9.0:
+    * Works on Ubuntu 12.10 (quantal).
     * Dovecot will send an email to postmaster@ if user's mailbox is larger
       than or equal to 95% full.
     * Drop support for below distributions and releases:
 
         # Ubuntu version number and code name:
         #   - 12.04: precise (Long Term support by Ubuntu)
+        #   - 12.10: quantal
         export DISTRO_ID="$(grep 'DISTRIB_ID' /etc/lsb-release | awk -F'=' '{print $2}')"
         export DISTRO_VERSION="$(grep 'DISTRIB_RELEASE' /etc/lsb-release | awk -F'=' '{print $2}')"
         export DISTRO_CODENAME="$(grep 'DISTRIB_CODENAME' /etc/lsb-release | awk -F'=' '{print $2}')"

iRedMail/conf/policy_server

         export USE_CLUEBRINGER='YES'
         export USE_POLICYD='NO'
     fi
-elif [ X"${DISTRO}" == X'DEBIAN' ]; then
-    if [ X"${DISTRO_CODENAME}" == X'wheezy' ]; then
-        export USE_CLUEBRINGER='YES'
-        export USE_POLICYD='NO'
-    fi
+elif [ X"${DISTRO}" == X'DEBIAN' -o X"${DISTRO}" == X'UBUNTU' ]; then
+    export USE_CLUEBRINGER='YES'
+    export USE_POLICYD='NO'
 elif [ X"${DISTRO}" == X'FREEBSD' ]; then
     if [ X"${BACKEND}" == X'PGSQL' ]; then
         export USE_CLUEBRINGER='YES'

iRedMail/functions/packages.sh

             elif [ X"${BACKEND}" == X"PGSQL" ]; then
                 ALL_PKGS="${ALL_PKGS} postfix-cluebringer-pgsql"
             fi
-        else
-            ALL_PKGS="${ALL_PKGS} postfix-policyd"
-            ENABLED_SERVICES="${ENABLED_SERVICES} ${POLICYD_RC_SCRIPT_NAME}"
         fi
 
     elif [ X"${DISTRO}" == X'GENTOO' ]; then