[omd-commits] OMD Git: omd: reenable changes for wheezy

git version control git at mathias-kettner.de
Mon Jun 11 12:46:24 CEST 2012


Module:   omd
Branch:   master
Commit:   b6b55507b429b44517bcc9c12c308c4d710b7712
URL:      http://omdistro.org/projects/omd/repository/revisions/b6b55507b429b44517bcc9c12c308c4d710b7712

Author:   Sven Nierlein <sven at consol.de>
Date:     Mon Jun 11 12:45:59 2012 +0200
Commiter: Sven Nierlein <sven at consol.de>
Date:     Mon Jun 11 12:45:59 2012 +0200

reenable changes for wheezy

---

 distro |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/distro b/distro
index b507a08..82cd247 100755
--- a/distro
+++ b/distro
@@ -6,7 +6,7 @@
 
 # Ubuntu is detected with /etc/lsb-release
 SEP=${1:- }
-if [ -e /etc/lsb-release ] 
+if [ -e /etc/lsb-release ]
 then
     . /etc/lsb-release
     if [ -n "$DISTRIB_ID" -a -n "$DISTRIB_RELEASE" ] ; then
@@ -22,6 +22,9 @@ then
     if [ "${VERSION:3:1}" = . ] ; then
         VERSION=${VERSION:0:3}
     fi
+    if [ "${VERSION:0:6}" = "wheezy" ] ; then
+        VERSION="7.0"
+    fi
     echo "DEBIAN$SEP$VERSION"
     exit 0
 fi



More information about the omd-commits mailing list