1 # utils function is based on virtualbox.install
3 if [ -x usr/bin/update-mime-database ]; then
4 echo ">>> Updating Shared MIME-Info database..."
5 update-mime-database /usr/share/mime
6 # update-mime-database /usr/share/mime > /dev/null 2>&1
9 if [ -x usr/bin/xdg-icon-resource ]; then
10 echo ">>> Updating desktop icon system..."
11 xdg-icon-resource forceupdate --theme hicolor
12 # xdg-icon-resource forceupdate --theme hicolor > /dev/null 2>&1
15 if [ -x usr/bin/update-desktop-database ]; then
16 echo ">>> Updating MIME-desktop association cache database..."
17 update-desktop-database
18 # usr/bin/update-desktop-database -q
24 echo ">>> COPASIDIR environment variable will be set by /etc/profile.d/copasi.sh"
25 echo ">>> You may have to relogin or source it."