1 --- VirtualBox-5.1.2/src/VBox/Installer/linux/VBox.sh.orig 2016-07-29 18:45:38.074668094 +0200
2 +++ VirtualBox-5.1.2/src/VBox/Installer/linux/VBox.sh 2016-07-29 19:23:07.702016897 +0200
4 # test -n "${path}" || pwd
9 + local BINFILE=${0##*/} message
11 + if [ "$DESKTOP" = "kde" ]; then
13 + PATH=$(kde4-config --path exe) kdialog --sorry "$message"
14 + elif [ -n "$DISPLAY" ] && [ -x /usr/bin/gxmessage ]; then
15 + gxmessage --center --buttons GTK_STOCK_OK -wrap -geometry 400x150 -name $BINFILE -file -
16 + elif [ -n "$DISPLAY" ] && [ -x /usr/bin/zenity ]; then
18 + zenity --error --icon-name=virtualbox --text "$message"
25 if test -f /usr/lib/virtualbox/VirtualBox &&
26 test -x /usr/lib/virtualbox/VirtualBox; then
28 elif test -f "${MY_DIR}/VirtualBox" && test -x "${MY_DIR}/VirtualBox"; then
29 INSTALL_DIR="${MY_DIR}"
31 - echo "Could not find VirtualBox installation. Please reinstall."
32 + echo "Could not find VirtualBox installation. Please reinstall." | show_message
37 if [ "$1" = "shutdown" ]; then
39 elif ! lsmod|grep -q vboxdrv; then
42 WARNING: The vboxdrv kernel module is not loaded. Either there is no module
43 available for the current kernel (`uname -r`) or it failed to
44 load. Please recompile the kernel module and install it by
46 You will not be able to start VMs until this problem is fixed.
48 elif [ ! -c /dev/vboxdrv ]; then
51 WARNING: The character device /dev/vboxdrv does not exist. Try
57 if [ -f /etc/vbox/module_not_compiled ]; then
60 WARNING: The compilation of the vboxdrv.ko kernel module failed during the
61 installation for some reason. Starting a VM will not be possible.
62 Please consult the User Manual for build instructions.