VirtualBox

Changeset 9482 in vbox


Ignore:
Timestamp:
Jun 6, 2008 1:44:48 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31742
Message:

Solaris installer: if-test simplification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/postinstall.sh

    r9278 r9482  
    5757
    5858# We need to touch the desktop link inorder to add it to the menu right away
    59 if test -f /usr/share/applications/virtualbox.desktop && test "$currentzone" = "global"; then
    60     touch /usr/share/applications/virtualbox.desktop
    61 fi
     59if test "$currentzone" = "global"; then
     60    if test -f "/usr/share/applications/virtualbox.desktop"; then
     61        touch /usr/share/applications/virtualbox.desktop
     62    fi
    6263
    63 # create /dev link for vboxdrv (only possible from global zone)
    64 if test "$currentzone" = "global"; then
     64    # create /dev link for vboxdrv (only possible from global zone)
    6565    /usr/sbin/devfsadm -i vboxdrv
    6666fi
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette