doinst() {
# Update the scrollkeeper database (Remove stale pieces)
if [ -x usr/bin/scrollkeeper-update ]; then
        usr/bin/scrollkeeper-update > /dev/null 2>&1
fi
# update the mime desktop database
if [ -x usr/bin/update-desktop-database ]; then
        usr/bin/update-desktop-database -q
fi
# update the mime database
if [ -x usr/bin/update-mime-database ]; then
        usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
fi
}
doinst
( cd usr/share/gnome/help/xchat-gnome/ca/figures ; rm -rf xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/ca/figures ; ln -sf ../../C/figures/xchat-gnome_main_window.png xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/es/figures ; rm -rf xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/es/figures ; ln -sf ../../C/figures/xchat-gnome_main_window.png xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/oc/figures ; rm -rf xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/oc/figures ; ln -sf ../../C/figures/xchat-gnome_main_window.png xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/th/figures ; rm -rf xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/th/figures ; ln -sf ../../C/figures/xchat-gnome_main_window.png xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/pt_BR/figures ; rm -rf xchat-gnome_main_window.png )
( cd usr/share/gnome/help/xchat-gnome/pt_BR/figures ; ln -sf ../../C/figures/xchat-gnome_main_window.png xchat-gnome_main_window.png )
