Changeset 58193 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Oct 12, 2015 2:57:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/install.sh
r58186 r58193 364 364 # script set-up. 365 365 if test "${BUILD_MODULE}" = "true"; then 366 for i in /lib/modules/*; do 367 if test -e "${i}/misc/vboxdrv.ko"; then 368 rm -f "${i}/misc/vboxdrv.ko" "${i}/misc/vboxnetadp.ko" \ 369 "${i}/misc/vboxnetflt.ko" "${i}/misc/vboxpci.ko" 370 # Remove the kernel version folder if it was empty except for us. 371 test "`echo ${i}/misc/* ${i}/misc/.?* ${i}/* ${i}/.?*`" = \ 372 "${i}/misc/* ${i}/misc/.. ${i}/misc ${i}/.." && 373 rmdir "${i}/misc" "${i}" # We used to leave empty folders. 374 fi 375 done 366 376 START_SERVICES= 367 377 else
Note:
See TracChangeset
for help on using the changeset viewer.