From 447d13f80ceffd950291801d0e31e56a2383c511 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Sat, 8 Aug 2015 23:41:01 +0400 Subject: [PATCH] support de nouvelles versions d'OS pour sysinfos --- lib/ulib/sysinfos | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/ulib/sysinfos b/lib/ulib/sysinfos index 5367553..2777ba7 100644 --- a/lib/ulib/sysinfos +++ b/lib/ulib/sysinfos @@ -25,16 +25,16 @@ SYSDIST_ALIASES=( # attention: dans *_SYSVERS, les noms doivent être ordonnés du plus récent au # moins récent debianlike_SYSVERS=() -debian_SYSVERS=(wheezy squeeze lenny etch) +debian_SYSVERS=(stretch jessie wheezy squeeze lenny etch) ubuntu_SYSVERS=(oneiric natty maverick lucid karmic jaunty intrepid hardy) redhatlike_SYSVERS=() -rhel_SYSVERS=(rhel6 rhel5 rhel4 redhat6 redhat5 redhat4) +rhel_SYSVERS=(rhel7 rhel6 rhel5 rhel4 redhat7 redhat6 redhat5 redhat4) fedora_SYSVERS=(fedora14 fedora13 fedora12 fedora11) -centos_SYSVERS=(centos6 centos5 centos4 redhat6 redhat5 redhat4) +centos_SYSVERS=(centos7 centos6 centos5 centos4 redhat7 redhat6 redhat5 redhat4) suse_SYSVERS=() gentoo_SYSVERS=() SYSVER_ALIASES=( - 7=wheezy 6=squeeze 5=lenny 4=etch + 9=stretch 8=jessie 7=wheezy 6=squeeze 5=lenny 4=etch 11.10=oneiric 11.04=natty 10.10=maverick 10.04=lucid 9.10=karmic 9.04=jaunty 8.10=intrepid 8.04=hardy ) @@ -92,6 +92,8 @@ if [ "$UNAME_SYSTEM" == "Linux" ]; then if [ -f /etc/debian_version ]; then case "$(