]> git.pld-linux.org Git - packages/VirtualBox.git/blame - VirtualBox-VBoxSysInfo.patch
- up to 2.2.4-1
[packages/VirtualBox.git] / VirtualBox-VBoxSysInfo.patch
CommitLineData
8473a80d 1diff -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
2--- VirtualBox-2.2.2_OSE.orig/src/VBox/Installer/linux/VBoxSysInfo.sh 2009-04-27 19:57:14.000000000 +0200
3+++ VirtualBox-2.2.2_OSE.new/src/VBox/Installer/linux/VBoxSysInfo.sh 2009-05-29 18:56:04.000000000 +0200
4@@ -38,7 +38,12 @@ print_linux_info () {
5 # others as unknown. It can be extended later if other distributions are
6 # found to be "of interest".
7 get_linux_info () {
8- if [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
9+ if [ -r /etc/pld-release ] && grep PLD /etc/pld-release >/dev/null 2>&1
10+ then
11+ # PLD-based
12+ release=`cat /etc/pld-release | sed -e 's/.PLD.*//'`
13+ print_linux_info "PLD" $release
14+ elif [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
15 then
16 # Ubuntu-based system
17 . /etc/lsb-release
This page took 0.029677 seconds and 4 git commands to generate.