SOURCES: VirtualBox.sh - use @LIBDIR@ - will be expanded to correct path in...
sparky
sparky at pld-linux.org
Fri Dec 5 23:57:53 CET 2008
Author: sparky Date: Fri Dec 5 22:57:53 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use @LIBDIR@ - will be expanded to correct path in spec
- fixed typos
---- Files affected:
SOURCES:
VirtualBox.sh (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/VirtualBox.sh
diff -u SOURCES/VirtualBox.sh:1.3 SOURCES/VirtualBox.sh:1.4
--- SOURCES/VirtualBox.sh:1.3 Sat Sep 22 14:22:31 2007
+++ SOURCES/VirtualBox.sh Fri Dec 5 23:57:47 2008
@@ -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 @@
}
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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/VirtualBox.sh?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list