From: Todd C. Miller Date: Sat, 17 Jul 2010 22:29:29 +0000 (-0400) Subject: decode debian code names X-Git-Tag: SUDO_1_7_4~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f9e8434d99f535be92bb62db1a14f4caac410eb;p=sudo decode debian code names --HG-- branch : 1.7 --- diff --git a/pp b/pp index ae43a5fe1..fc7a83607 100755 --- a/pp +++ b/pp @@ -3953,6 +3953,41 @@ pp_backend_deb_probe() { case $release in *[!.0-9r]*) release=`lsb_release -cs` + case $release in + buzz) + release="1.1" + ;; + rex) + release="1.2" + ;; + bo) + release="1.3" + ;; + hamm) + release="2.0" + ;; + slink) + release="2.1" + ;; + potato) + release="2.2" + ;; + woody) + release="3.0" + ;; + sarge) + release="3.1" + ;; + etch) + release="4.0" + ;; + lenny) + release="5.0" + ;; + squeeze) + release="6.0" + ;; + esac ;; *) # Remove trailing revision number and any dots