]> git.pld-linux.org Git - packages/VirtualBox-bin.git/commitdiff
- use @LIBDIR@ - will be expanded to correct path in spec VIRTUALBOX_1_0 VIRTUALBOX_2_0 auto/th/VirtualBox-2_0_6-3 auto/th/VirtualBox-2_0_6-4 auto/th/VirtualBox-2_0_6-5 auto/ti/VirtualBox-2_0_6-3 auto/ti/VirtualBox-2_0_6-4
authorsparky <sparky@pld-linux.org>
Fri, 5 Dec 2008 22:57:47 +0000 (22:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed typos

Changed files:
    VirtualBox.sh -> 1.4

VirtualBox.sh

index f3d3c58805afe3256c67cbe74caeeeb7101f192e..d9c1ea94f462bbaad71ac5daea918ab66dbc9bf7 100644 (file)
@@ -1,7 +1,6 @@
 #!/bin/sh
 BINFILE=$(basename "$0")
-VBOXDIR=/usr/lib/VirtualBox
-[ ! -d "$VBOXDIR" ] && VBOXDIR=/usr/lib64/VirtualBox
+VBOXDIR=@LIBDIR@/VirtualBox
 
 show_message() {
        if [ ! -z "$DISPLAY" ] && [ -x /usr/bin/gxmessage ]; then
@@ -12,12 +11,12 @@ show_message() {
 }
 
 if [ ! -d "$VBOXDIR" ]; then
-       show_message "Can't find VritualBox libraries! Can't continue!.\nCorrect this situation or contact with your system administrator."
+       show_message "Can't find VirtualBox libraries! Can't continue!.\nCorrect this situation or contact with your system administrator."
        exit 1
 fi
 
 if [ ! -c /dev/vboxdrv ]; then
-       show_message "Special character device /dev/vboxdrv doesn't exists!\nCheck your installation and if vboxdrv kernel module is loaded."
+       show_message "Special character device /dev/vboxdrv doesn't exists!\nCheck your installation and whether vboxdrv kernel module is loaded."
        exit 1
 fi
 
This page took 0.088895 seconds and 4 git commands to generate.