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

if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
  /usr/bin/update-gdk-pixbuf-loaders >/dev/null 2>&1
fi
( cd usr/lib64 ; rm -rf libfoundry-1.so )
( cd usr/lib64 ; ln -sf libfoundry-1.so.1 libfoundry-1.so )
( cd usr/lib64 ; rm -rf libfoundry-1.so.1 )
( cd usr/lib64 ; ln -sf libfoundry-1.so.1.0.0 libfoundry-1.so.1 )
( cd usr/lib64 ; rm -rf libfoundry-adw-1.so )
( cd usr/lib64 ; ln -sf libfoundry-adw-1.so.1 libfoundry-adw-1.so )
( cd usr/lib64 ; rm -rf libfoundry-adw-1.so.1 )
( cd usr/lib64 ; ln -sf libfoundry-adw-1.so.1.0.0 libfoundry-adw-1.so.1 )
( cd usr/lib64 ; rm -rf libfoundry-gtk-1.so )
( cd usr/lib64 ; ln -sf libfoundry-gtk-1.so.1 libfoundry-gtk-1.so )
( cd usr/lib64 ; rm -rf libfoundry-gtk-1.so.1 )
( cd usr/lib64 ; ln -sf libfoundry-gtk-1.so.1.0.0 libfoundry-gtk-1.so.1 )
