From cfd6cf19cf9e843c92a0093a8081916d52d91227 Mon Sep 17 00:00:00 2001 From: Karol Krenski Date: Fri, 4 Nov 2011 21:14:22 +0000 Subject: [PATCH] - updated for 4.1.6 Changed files: VirtualBox-VBoxSysInfo.patch -> 1.2 --- VirtualBox-VBoxSysInfo.patch | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/VirtualBox-VBoxSysInfo.patch b/VirtualBox-VBoxSysInfo.patch index af8042f..883229f 100644 --- a/VirtualBox-VBoxSysInfo.patch +++ b/VirtualBox-VBoxSysInfo.patch @@ -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 -- 2.44.0