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

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database &> /dev/null
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache  -f -q /usr/share/icons/hicolor &> /dev/null
fi
	# Update the scrollkeeper database (Remove stale pieces)
	if [ -x usr/bin/scrollkeeper-update ]; then
		usr/bin/scrollkeeper-update > /dev/null 2>&1
	fi
#
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/enabled-breakpoint.png enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/global-variables-dialog.png global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf attach-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/attach-dialog.png attach-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf variable-inspector.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/variable-inspector.png variable-inspector.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/connect-remote-dialog.png connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/set-breakpoint-dialog.png set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf main-window.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/main-window.png main-window.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf sessions-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/sessions-dialog.png sessions-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf load-core-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/load-core-dialog.png load-core-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf open-files-target.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/open-files-target.png open-files-target.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/disabled-breakpoint.png disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf registers-view.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/registers-view.png registers-view.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf memory-view.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/memory-view.png memory-view.png )
( cd usr/share/gnome/help/nemiver/es/figures ; rm -rf execute-dialog.png )
( cd usr/share/gnome/help/nemiver/es/figures ; ln -sf ../../C/figures/execute-dialog.png execute-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/enabled-breakpoint.png enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/global-variables-dialog.png global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf attach-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/attach-dialog.png attach-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf variable-inspector.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/variable-inspector.png variable-inspector.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/connect-remote-dialog.png connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/set-breakpoint-dialog.png set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf main-window.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/main-window.png main-window.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf sessions-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/sessions-dialog.png sessions-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf load-core-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/load-core-dialog.png load-core-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf open-files-target.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/open-files-target.png open-files-target.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/disabled-breakpoint.png disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf registers-view.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/registers-view.png registers-view.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf memory-view.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/memory-view.png memory-view.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; rm -rf execute-dialog.png )
( cd usr/share/gnome/help/nemiver/oc/figures ; ln -sf ../../C/figures/execute-dialog.png execute-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/enabled-breakpoint.png enabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/global-variables-dialog.png global-variables-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf variable-inspector.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/variable-inspector.png variable-inspector.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/connect-remote-dialog.png connect-remote-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/set-breakpoint-dialog.png set-breakpoint-dialog.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/disabled-breakpoint.png disabled-breakpoint.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf registers-view.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/registers-view.png registers-view.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; rm -rf memory-view.png )
( cd usr/share/gnome/help/nemiver/sv/figures ; ln -sf ../../C/figures/memory-view.png memory-view.png )
