case $(cat /etc/debian_version) in
6.0.6) distro=squeeze ;;
7.0) distro=wheezy ;;
- *) distro=unknown.debian.in.ubild.common ;;
+ *) distro=unknown.debian.in.build.common ;;
esac
fi
[ -z "$distro" ] && { echo "build.common.pl_getDistro-unknown"; exit 1; }
[Ss]L*)
releasename=sl$release
;;
- lenny|squeeze|wheezy|jessie)
+ squeeze|wheezy|oneiric|quantal)
releasename=$distro
;;
*)
known_fcdistros = [ 'centos5','centos6',
'f8', 'f10','f12', 'f14', 'f16', 'f17',
'sl6',
- 'lenny','squeeze','wheezy','jessie' ]
+ # debians
+ 'squeeze','wheezy',
+ # ubuntus
+ 'oneiric', 'quantal' ]
default_pldistro='onelab'
known_keywords=['groupname', 'groupdesc',
fcdistro=$1; shift
case $fcdistro in
f[0-9]*|centos[0-9]*|sl[0-9]*) echo yum ;;
- lenny|squeeze|wheezy|jessie) echo debootstrap ;;
+ squeeze|wheezy|oneiric|quantal) echo debootstrap ;;
*) echo Unknown distro $fcdistro ;;
esac
}