# Try to run these.  If they fail, no biggie.
chroot . /usr/bin/update-desktop-database -q usr/share/applications 1> /dev/null 2> /dev/null
chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null

( cd usr/lib64 ; rm -rf libgucharmap_2_90.so )
( cd usr/lib64 ; ln -sf libgucharmap_2_90.so.7 libgucharmap_2_90.so )
( cd usr/lib64 ; rm -rf libgucharmap_2_90.so.7 )
( cd usr/lib64 ; ln -sf libgucharmap_2_90.so.7.0.0 libgucharmap_2_90.so.7 )
( cd usr/share/help/ca/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/ca/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/en_GB/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/en_GB/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/gl/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/gl/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/id/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/id/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/oc/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/oc/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/ru/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/ru/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/sl/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/sl/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/uk/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/uk/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
( cd usr/share/help/vi/gucharmap/figures ; rm -rf gucharmap_window.png )
( cd usr/share/help/vi/gucharmap/figures ; ln -sf ../../../C/gucharmap/figures/gucharmap_window.png gucharmap_window.png )
