Check-in Number:
|
3608 | |
Date: |
2003-Sep-13 20:17:49 (local)
2003-Sep-13 18:17:49 (UTC) |
User: | rse |
Branch: | |
Comment: |
add more knowledge about particular major Linux distros |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/platform/platform.sh 1.8 -> 1.9
--- platform.sh 2003/09/12 09:25:06 1.8
+++ platform.sh 2003/09/13 18:17:49 1.9
@@ -381,12 +381,15 @@
-e 's/^#[^0-9]*\([0-9][0-9]*\).*$/\1/' \
-e 's/^#.*$//'`
case "`util_lower ${n}`" in
- debian ) n="Debian[ GNU/Linux]" ;;
- redhat ) n="RedHat[ Linux]" ;;
- suse ) n="SuSE[ Linux]" ;;
- mandrake ) n="Mandrake[ Linux]" ;;
- gentoo ) n="Gentoo[ Linux]" ;;
- * ) n="${n}[ GNU/Linux]" ;;
+ debian ) n="Debian[ GNU/Linux]" ;;
+ redhat ) n="RedHat[ Linux]" ;;
+ suse ) n="SuSE[ Linux]" ;;
+ mandrake ) n="Mandrake[ Linux]" ;;
+ gentoo ) n="Gentoo[ Linux]" ;;
+ slackware ) n="Slackware[ Linux]" ;;
+ turbolinux ) n="TurboLinux" ;;
+ unitedlinux ) n="UnitedLinux" ;;
+ * ) n="${n}[ GNU/Linux]" ;;
esac
SP="$n $v"
break
|
|