VirtualBox

Changeset 35069 in vbox


Ignore:
Timestamp:
Dec 14, 2010 12:27:11 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68900
Message:

Installer/solaris: shift mime/desktop update around to avoid confusing installer output

File:
1 edited

Legend:

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

    r35054 r35069  
    796796        fi
    797797
    798         if test -d $PKG_INSTALL_ROOT/usr/share/icons; then
    799             infoprint "Installing MIME types and icons"
    800             if test "$REMOTEINST" -eq 0; then
    801                 /usr/bin/update-mime-database /usr/share/mime 2>/dev/null
    802                 /usr/bin/update-desktop-database -q 2>/dev/null
    803             else
    804                 subprint "Skipped for targetted installs."
    805             fi
    806         fi
    807 
    808798        # Enable Zone access service for non-remote installs, other services (Webservice) are delivered disabled by the manifest class action
    809799        if test "$REMOTEINST" -eq 0; then
     
    816806                    subprint "Loading Zone access service  ...FAILED."
    817807                fi
     808            fi
     809        fi
     810
     811        # Update mime and desktop databases to get the right menu entries
     812        # and icons. There is still some delay until the GUI picks it up,
     813        # but that cannot be helped.
     814        if test -d $PKG_INSTALL_ROOT/usr/share/icons; then
     815            infoprint "Installing MIME types and icons"
     816            if test "$REMOTEINST" -eq 0; then
     817                /usr/bin/update-mime-database /usr/share/mime 2>/dev/null
     818                /usr/bin/update-desktop-database -q 2>/dev/null
     819            else
     820                subprint "Skipped for targetted installs."
    818821            fi
    819822        fi
Note: See TracChangeset for help on using the changeset viewer.

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