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

( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-pinup.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-pinup.png gnote-pinup.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-panel.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-panel.png gnote-panel.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-preferences-editing.png gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-preferences-hotkeys.png gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-tools.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-tools.png gnote-tools.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-main-menu.png gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf add-to-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/add-to-notebook.png add-to-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-new-note.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-new-note.png gnote-new-note.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf add-notebook-search.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/add-notebook-search.png add-notebook-search.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf new-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/new-notebook.png new-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf note-template.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/note-template.png note-template.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-preferences-add-ins.png gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-pindown.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-pindown.png gnote-pindown.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf notebook-icon.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/notebook-icon.png notebook-icon.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf delete-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/delete-notebook.png delete-notebook.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/gnote-preferences-synchronization.png gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/de/figures ; rm -rf move-notes-search.png )
( cd usr/share/gnome/help/gnote/de/figures ; ln -sf ../../C/figures/move-notes-search.png move-notes-search.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-pinup.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-pinup.png gnote-pinup.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-panel.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-panel.png gnote-panel.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-preferences-editing.png gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-preferences-hotkeys.png gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-tools.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-tools.png gnote-tools.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-main-menu.png gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf add-to-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/add-to-notebook.png add-to-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-new-note.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-new-note.png gnote-new-note.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf add-notebook-search.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/add-notebook-search.png add-notebook-search.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf new-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/new-notebook.png new-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf note-template.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/note-template.png note-template.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-preferences-add-ins.png gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-pindown.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-pindown.png gnote-pindown.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf notebook-icon.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/notebook-icon.png notebook-icon.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf delete-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/delete-notebook.png delete-notebook.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/gnote-preferences-synchronization.png gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/el/figures ; rm -rf move-notes-search.png )
( cd usr/share/gnome/help/gnote/el/figures ; ln -sf ../../C/figures/move-notes-search.png move-notes-search.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-pinup.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-pinup.png gnote-pinup.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-panel.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-panel.png gnote-panel.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-preferences-editing.png gnote-preferences-editing.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-preferences-hotkeys.png gnote-preferences-hotkeys.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-tools.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-tools.png gnote-tools.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-main-menu.png gnote-main-menu.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf add-to-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/add-to-notebook.png add-to-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-new-note.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-new-note.png gnote-new-note.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf add-notebook-search.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/add-notebook-search.png add-notebook-search.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf new-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/new-notebook.png new-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf note-template.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/note-template.png note-template.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-preferences-add-ins.png gnote-preferences-add-ins.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-pindown.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-pindown.png gnote-pindown.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf notebook-icon.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/notebook-icon.png notebook-icon.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf delete-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/delete-notebook.png delete-notebook.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/gnote-preferences-synchronization.png gnote-preferences-synchronization.png )
( cd usr/share/gnome/help/gnote/es/figures ; rm -rf move-notes-search.png )
( cd usr/share/gnome/help/gnote/es/figures ; ln -sf ../../C/figures/move-notes-search.png move-notes-search.png )
