Contents of /trunk/virtualbox/patches/virtualbox-3.1.4-vboxdrv-magellan.patch
Parent Directory | Revision Log
Revision 984 -
(show annotations)
(download)
Fri Feb 19 00:11:28 2010 UTC (14 years, 7 months ago) by niro
File size: 1244 byte(s)
Fri Feb 19 00:11:28 2010 UTC (14 years, 7 months ago) by niro
File size: 1244 byte(s)
patches for 3.1.4
1 | diff -Naur VirtualBox-3.1.4_OSE/src/VBox/Installer/linux/vboxdrv.sh.in VirtualBox-3.1.4_OSE-magellan/src/VBox/Installer/linux/vboxdrv.sh.in |
2 | --- VirtualBox-3.1.4_OSE/src/VBox/Installer/linux/vboxdrv.sh.in 2010-02-12 20:49:21.000000000 +0100 |
3 | +++ VirtualBox-3.1.4_OSE-magellan/src/VBox/Installer/linux/vboxdrv.sh.in 2010-02-19 01:35:52.000000000 +0100 |
4 | @@ -68,6 +68,8 @@ |
5 | system=suse |
6 | elif [ -f /etc/gentoo-release ]; then |
7 | system=gentoo |
8 | + elif [ -f /etc/mageversion ]; then |
9 | + system=magellan |
10 | fi |
11 | fi |
12 | |
13 | @@ -128,6 +130,17 @@ |
14 | if [ "`which $0`" = "/sbin/rc" ]; then |
15 | shift |
16 | fi |
17 | + elif [ "$system" = "magellan" ]; then |
18 | + . /etc/rc.d/init.d/functions |
19 | + fail_msg() { |
20 | + evaluate_retval |
21 | + } |
22 | + succ_msg() { |
23 | + evaluate_retval |
24 | + } |
25 | + begin_msg() { |
26 | + echo -e ${COLOREDSTAR}"$1" |
27 | + } |
28 | else |
29 | fail_msg() { |
30 | echo " ...failed!" |
31 | @@ -137,7 +150,7 @@ |
32 | echo " ...done." |
33 | } |
34 | fi |
35 | - if [ "$system" != "gentoo" ]; then |
36 | + if [ "$system" != "gentoo" ] || [ "$system" != "magellan" ]; then |
37 | begin_msg() { |
38 | [ -z "${1:-}" ] && return 1 |
39 | if [ -z "${2:-}" ]; then |