Setting tag plcapi-5.2-6
[build.git] / build.common
index b292143..53371c0 100644 (file)
@@ -22,8 +22,8 @@ function pl_getDistro() {
        echo $DISTRIB_CODENAME 
     elif [ -f /etc/debian_version ] ; then
        case $(cat /etc/debian_version) in
-           6.0.6) distro=squeeze ;;
-           7.0)   distro=wheezy  ;;
+           6.*) distro=squeeze ;;
+           7.*)   distro=wheezy  ;;
            *)     distro=unknown.debian.in.build.common ;;
        esac
     fi
@@ -63,7 +63,7 @@ function pl_getReleaseName () {
        [Ss]L*)
            releasename=sl$release
            ;;
-       squeeze|wheezy|oneiric|precise|quantal)
+       squeeze|wheezy|oneiric|precise|quantal|raring)
            releasename=$distro
            ;;
        *)