]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - VirtualBox-VBoxSysInfo.patch
- merged kernel modules into just simple guest and host packages
[packages/VirtualBox.git] / VirtualBox-VBoxSysInfo.patch
index af8042f77ab190ea94c35b93ee5ed6d97216a7cb..883229faea9241bf8eae4fd3c8d2cc291f8f3036 100644 (file)
@@ -1,17 +1,14 @@
-diff -NurpP --minimal VirtualBox-2.2.2_OSE.orig/src/VBox/Installer/linux/VBoxSysInfo.sh VirtualBox-2.2.2_OSE.new/src/VBox/Installer/linux/VBoxSysInfo.sh
---- VirtualBox-2.2.2_OSE.orig/src/VBox/Installer/linux/VBoxSysInfo.sh  2009-04-27 19:57:14.000000000 +0200
-+++ VirtualBox-2.2.2_OSE.new/src/VBox/Installer/linux/VBoxSysInfo.sh   2009-05-29 18:56:04.000000000 +0200
-@@ -38,7 +38,12 @@ print_linux_info () {
- # others as unknown.  It can be extended later if other distributions are
- # found to be "of interest".
- get_linux_info () {
--    if [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
-+    if [ -r /etc/pld-release ] && grep PLD /etc/pld-release >/dev/null 2>&1
+--- VirtualBox-4.1.6_OSE/src/VBox/Installer/linux/VBoxSysInfo.sh.orig  2011-11-04 12:19:43.000000000 +0100
++++ VirtualBox-4.1.6_OSE/src/VBox/Installer/linux/VBoxSysInfo.sh       2011-11-04 21:34:53.817325782 +0100
+@@ -38,6 +38,11 @@
+     then
+         # LSB-compliant system
+         print_linux_info `lsb_release -i -s` `lsb_release -r -s`
++    elif [ -r /etc/pld-release ] && grep PLD /etc/pld-release >/dev/null 2>&1
 +    then
 +      # PLD-based
 +      release=`cat /etc/pld-release | sed -e 's/.PLD.*//'`
 +      print_linux_info "PLD" $release
-+    elif [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
+     elif [ -r /etc/debian_version ]
      then
-         # Ubuntu-based system
-         . /etc/lsb-release
+         # Debian-based system
This page took 0.028777 seconds and 4 git commands to generate.