Changeset 36850 in vbox
- Timestamp:
- Apr 26, 2011 4:12:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r36792 r36850 213 213 vboxvideo64_dest_base=$vboxvideo32_dest_base/$solaris64dir 214 214 215 # snv_163 drops 32-bit support completely, and uses 32-bit locations for the 64-bit stuff. Ugly. 216 # We try to detect this by looking at bitness of "mouse_drv.so", and adjust our destination paths accordingly. 217 bitsize=`file $vboxmouse32_dest_base/mouse_drv.so | grep "32-bit"` 218 skip32="no" 219 if test -z "$bitsize"; then 220 skip32="yes" 221 vboxmouse64_dest_base=$vboxmouse32_dest_base 222 vboxvideo64_dest_base=$vboxvideo32_dest_base 223 fi 224 215 225 # Make sure destination path exists 216 226 if test ! -d $vboxmouse32_dest_base || test ! -d $vboxvideo32_dest_base || test ! -d $vboxmouse64_dest_base || test ! -d $vboxvideo64_dest_base; then … … 222 232 else 223 233 # 32-bit x11 drivers 224 if test -f "$vboxadditions32_path/$vboxmouse_src"; then234 if test "$skip32" = "no" && test -f "$vboxadditions32_path/$vboxmouse_src"; then 225 235 vboxmouse_dest="$vboxmouse32_dest_base/vboxmouse_drv.so" 226 236 vboxvideo_dest="$vboxvideo32_dest_base/vboxvideo_drv.so"
Note:
See TracChangeset
for help on using the changeset viewer.