Changeset 69428 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Oct 27, 2017 1:06:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxdrv.sh
r68027 r69428 384 384 rm -f "${i}/misc/vboxdrv.ko" "${i}/misc/vboxnetadp.ko" \ 385 385 "${i}/misc/vboxnetflt.ko" "${i}/misc/vboxpci.ko" 386 # Remove the kernel version folder if it was empty except for us.387 test "`echo ${i}/misc/* ${i}/misc/.?* ${i}/* ${i}/.?*`" \388 = "${i}/misc/* ${i}/misc/.. ${i}/misc ${i}/.." &&389 rmdir "${i}/misc" "${i}" # We used to leave empty folders.390 386 version=`expr "${i}" : "/lib/modules/\(.*\)"` 391 387 depmod -a "${version}" 392 388 fi 389 # Remove the kernel version folder if it was empty except for us. 390 test "`echo ${i}/misc/* ${i}/misc/.?* ${i}/* ${i}/.?*`" \ 391 = "${i}/misc/* ${i}/misc/.. ${i}/misc ${i}/.." && 392 rmdir "${i}/misc" "${i}" # We used to leave empty folders. 393 393 done 394 394 }
Note:
See TracChangeset
for help on using the changeset viewer.