Commits

Zhang Huangbin  committed 47d2cf9

Support Linux Mint Debian Edition (LMDE).

  • Participants
  • Parent commits babaecc

Comments (0)

Files changed (2)

File iRedMail/ChangeLog

         + FreeBSD: 7.x
     * Enable greylist opt-in in Policyd-1.x by default.
     * It now works on Ubuntu Linux 12.04 (precise). Tested on Alpha 2.
-    * It now works on Linux Mint 12 (code name: lisa).
+    * It now works on Linux Mint 12 (based on Ubuntu, code name: lisa), LMDE
+      (based on Debian).
     * Add share folder support within Dovecot 2.
     * Fixed:
         + Incorrect postrotate command for dovecot log files.

File iRedMail/conf/global

         # Ubuntu
         export DISTRO='UBUNTU'
 
-        # Ubuntu version number. e.g. 11.10.
-
         # Ubuntu version number and code name:
         #   - 10.04: lucid (Long Term Support by Ubuntu)
         #   - 11.10: oneiric
             export DISTRO_CODENAME="oneiric"
         fi
 
+        # Linux Mint support. LMDE, based on Debian.
+        if [ X"${DISTRO_ID}" == X'LinuxMint' -a X"${DISTRO_CODENAME}" == X'debian' ]; then
+            if [ X"${DISTRO_VERSION}" == X'1' ]; then
+                # Based on Debian wheezy/sid, which is also the base of Ubuntu 12.04 LTS
+                export DISTRO_VERSION='12.04'
+                export DISTRO_CODENAME='precise'
+            fi
+        fi
+
         # Support PGSQL backend on Ubuntu 11.10 and later releases
         if [ X"${DISTRO_CODENAME}" != X"lucid" ]; then
             export ENABLE_BACKEND_PGSQL='YES'