# 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/da/matedialog/figures ; rm -rf matedialog-information-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-information-screenshot.png matedialog-information-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-calendar-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-calendar-screenshot.png matedialog-calendar-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-error-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-error-screenshot.png matedialog-error-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-notification-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-notification-screenshot.png matedialog-notification-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-list-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-list-screenshot.png matedialog-list-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-question-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-question-screenshot.png matedialog-question-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-entry-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-entry-screenshot.png matedialog-entry-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-progress-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-progress-screenshot.png matedialog-progress-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-fileselection-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-fileselection-screenshot.png matedialog-fileselection-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-text-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-text-screenshot.png matedialog-text-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; rm -rf matedialog-warning-screenshot.png )
( cd usr/share/help/da/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-warning-screenshot.png matedialog-warning-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-information-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-information-screenshot.png matedialog-information-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-calendar-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-calendar-screenshot.png matedialog-calendar-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-error-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-error-screenshot.png matedialog-error-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-notification-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-notification-screenshot.png matedialog-notification-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-list-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-list-screenshot.png matedialog-list-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-question-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-question-screenshot.png matedialog-question-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-entry-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-entry-screenshot.png matedialog-entry-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-progress-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-progress-screenshot.png matedialog-progress-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-fileselection-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-fileselection-screenshot.png matedialog-fileselection-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-text-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-text-screenshot.png matedialog-text-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; rm -rf matedialog-warning-screenshot.png )
( cd usr/share/help/oc/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-warning-screenshot.png matedialog-warning-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-information-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-information-screenshot.png matedialog-information-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-calendar-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-calendar-screenshot.png matedialog-calendar-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-error-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-error-screenshot.png matedialog-error-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-notification-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-notification-screenshot.png matedialog-notification-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-list-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-list-screenshot.png matedialog-list-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-question-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-question-screenshot.png matedialog-question-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-entry-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-entry-screenshot.png matedialog-entry-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-progress-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-progress-screenshot.png matedialog-progress-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-fileselection-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-fileselection-screenshot.png matedialog-fileselection-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-text-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-text-screenshot.png matedialog-text-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; rm -rf matedialog-warning-screenshot.png )
( cd usr/share/help/en_GB/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-warning-screenshot.png matedialog-warning-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-information-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-information-screenshot.png matedialog-information-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-calendar-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-calendar-screenshot.png matedialog-calendar-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-error-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-error-screenshot.png matedialog-error-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-notification-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-notification-screenshot.png matedialog-notification-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-list-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-list-screenshot.png matedialog-list-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-question-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-question-screenshot.png matedialog-question-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-entry-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-entry-screenshot.png matedialog-entry-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-progress-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-progress-screenshot.png matedialog-progress-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-fileselection-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-fileselection-screenshot.png matedialog-fileselection-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-text-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-text-screenshot.png matedialog-text-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; rm -rf matedialog-warning-screenshot.png )
( cd usr/share/help/pt_BR/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-warning-screenshot.png matedialog-warning-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-information-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-information-screenshot.png matedialog-information-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-calendar-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-calendar-screenshot.png matedialog-calendar-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-error-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-error-screenshot.png matedialog-error-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-notification-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-notification-screenshot.png matedialog-notification-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-list-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-list-screenshot.png matedialog-list-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-question-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-question-screenshot.png matedialog-question-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-entry-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-entry-screenshot.png matedialog-entry-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-progress-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-progress-screenshot.png matedialog-progress-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-fileselection-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-fileselection-screenshot.png matedialog-fileselection-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-text-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-text-screenshot.png matedialog-text-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; rm -rf matedialog-warning-screenshot.png )
( cd usr/share/help/zh_CN/matedialog/figures ; ln -sf /usr/share/help/C/matedialog/figures/matedialog-warning-screenshot.png matedialog-warning-screenshot.png )
