Contents of /trunk/virtualbox/patches/virtualbox-1.5.4-magellan.patch
Parent Directory | Revision Log
Revision 443 -
(show annotations)
(download)
Sun Jan 13 18:54:50 2008 UTC (16 years, 8 months ago) by niro
File size: 750 byte(s)
Sun Jan 13 18:54:50 2008 UTC (16 years, 8 months ago) by niro
File size: 750 byte(s)
-fixed VBoxSysInfo to detect Magellan-Linux
1 | diff -Naur VirtualBox-1.5.4_OSE/src/VBox/Installer/linux/VBoxSysInfo.sh VirtualBox-1.5.4_OSE-magellan/src/VBox/Installer/linux/VBoxSysInfo.sh |
2 | --- VirtualBox-1.5.4_OSE/src/VBox/Installer/linux/VBoxSysInfo.sh 2007-11-21 20:54:35.000000000 +0100 |
3 | +++ VirtualBox-1.5.4_OSE-magellan/src/VBox/Installer/linux/VBoxSysInfo.sh 2008-01-13 19:43:16.000000000 +0100 |
4 | @@ -85,6 +85,11 @@ |
5 | # distributions may give false positives. |
6 | release=`cat /etc/redhat-release | sed -e 's/[A-Za-z ]* release //'` |
7 | print_linux_info "Redhat" $release |
8 | + elif [ -r /etc/mageversion ] |
9 | + then |
10 | + # Magellan Linux |
11 | + release=`cat /etc/mageversion` |
12 | + print_linux_info "Magellan Linux" $release |
13 | else |
14 | print_linux_info "unknown" "unknown" |
15 | fi |