# update rarian database
if [ -x usr/bin/rarian-sk-update ]; then
  usr/bin/rarian-sk-update 1> /dev/null 2> /dev/null
fi

# update mime database
if [ -x usr/bin/update-mime-database ]; then
  usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
fi

# update desktop entries
if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi

# update hicolor icons
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
	rm -f usr/share/icons/hicolor/icon-theme.cache
fi
usr/bin/gtk-update-icon-cache -f -q usr/share/icons/hicolor 1>/dev/null 2>/dev/null

if [ -x /usr/bin/glib-compile-schemas ]; then
  /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas/ >/dev/null 2>&1
fi

# Restart gconfd-2 if running to reload new gconf settings
if ps acx | grep -q gconfd-2 ; then
        killall -HUP gconfd-2 ;
fi

# A good idea whenever kernel modules are added or changed:
if [ -x sbin/depmod ]; then
  /sbin/depmod -a 1> /dev/null 2> /dev/null
fi

( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf loopback.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/loopback.png loopback.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf wavelan.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/wavelan.png wavelan.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf ethernet.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ethernet.png ethernet.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf netspeed_applet.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/netspeed_applet.png netspeed_applet.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf plip.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/plip.png plip.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; rm -rf ppp.png )
( cd usr/share/help/de/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ppp.png ppp.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf loopback.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/loopback.png loopback.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf wavelan.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/wavelan.png wavelan.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf eth_sum_48.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/eth_sum_48.png eth_sum_48.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf ethernet.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ethernet.png ethernet.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf details.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/details.png details.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf settings.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/settings.png settings.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf netspeed_applet.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/netspeed_applet.png netspeed_applet.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf plip.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/plip.png plip.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; rm -rf ppp.png )
( cd usr/share/help/el/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ppp.png ppp.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf loopback.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/loopback.png loopback.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf wavelan.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/wavelan.png wavelan.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf eth_sum_48.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/eth_sum_48.png eth_sum_48.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf ethernet.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ethernet.png ethernet.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf netspeed_applet.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/netspeed_applet.png netspeed_applet.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf plip.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/plip.png plip.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; rm -rf ppp.png )
( cd usr/share/help/fr/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ppp.png ppp.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf loopback.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/loopback.png loopback.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf wavelan.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/wavelan.png wavelan.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf eth_sum_48.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/eth_sum_48.png eth_sum_48.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf ethernet.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ethernet.png ethernet.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf netspeed_applet.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/netspeed_applet.png netspeed_applet.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf plip.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/plip.png plip.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; rm -rf ppp.png )
( cd usr/share/help/sv/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ppp.png ppp.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf loopback.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/loopback.png loopback.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf wavelan.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/wavelan.png wavelan.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf eth_sum_48.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/eth_sum_48.png eth_sum_48.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf ethernet.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ethernet.png ethernet.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf plip.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/plip.png plip.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; rm -rf ppp.png )
( cd usr/share/help/pt_BR/mate-netspeed-applet/figures ; ln -sf /usr/share/help/C/mate-netspeed-applet/figures/ppp.png ppp.png )
