X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=VirtualBox-VBoxSysInfo.patch;h=883229faea9241bf8eae4fd3c8d2cc291f8f3036;hb=70dee522bf4f441f5c02222714277437effcc6c0;hp=af8042f77ab190ea94c35b93ee5ed6d97216a7cb;hpb=8473a80d78bd087e99b2e9f8db2c3254b5917f13;p=packages%2FVirtualBox.git 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