Index: ossp-pkg/shtool/sh.platform RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.platform,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.platform,v' 2>/dev/null --- sh.platform 2005/05/13 18:52:40 1.9 +++ sh.platform 2005/05/27 09:23:01 1.10 @@ -235,6 +235,7 @@ fi ;; debian ) n="Debian[ GNU/Linux]" ;; + ubuntu ) n="Ubuntu[ GNU/Linux]" ;; fedora ) n=" Core[ GNU/Linux]" ;; suse ) n="SuSE[ Linux]" ;; mandrake ) n="Mandrake[ Linux]" ;; @@ -404,7 +405,7 @@ if [ -x /usr/bin/oslevel ]; then os_level=`/usr/bin/oslevel` else - os_level="`uname -r`.`uname -v`" + os_level="`uname -v`.`uname -r`" fi os_level=`echo "${os_level}" |\ sed -e 's;^\([0-9][0-9]*\.[0-9][0-9]*\)\(\.[0-9][0-9]*\)\(.*\)$;<\1>\2[\3];' \ @@ -412,7 +413,7 @@ AT="${cpu_arch}" AP="${AT}" AC="${AP}" - ST="[IBM ]AIX ${os_level}" + ST="[IBM ]${os_level}" SP="${ST}" case "${os_level}" in [12]* ) SC="SVR2" ;;