Changeset 43749 in vbox
- Timestamp:
- Oct 25, 2012 7:35:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r43742 r43749 360 360 cleanup_modules() 361 361 { 362 begin "Removing existing VirtualBox DKMS kernel modules" 363 $DODKMS uninstall $OLDMODULES > $LOG 364 succ_msg 362 if [ -n "$(which dkms 2>/dev/null)" ]; then 363 begin "Removing existing VirtualBox DKMS kernel modules" 364 $DODKMS uninstall $OLDMODULES > $LOG 365 succ_msg 366 fi 365 367 begin "Removing existing VirtualBox non-DKMS kernel modules" 366 368 for i in $OLDMODULES; do … … 378 380 379 381 # Short cut out if a dkms build succeeds 380 if $DODKMS install vboxguest $INSTALL_VER >> $LOG 2>&1; then 382 if [ -n "$(which dkms 2>/dev/null)" ] && 383 $DODKMS install vboxguest $INSTALL_VER >> $LOG 2>&1; then 381 384 succ_msg 382 385 return 0
Note:
See TracChangeset
for help on using the changeset viewer.