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/lib ; rm -rf libtupifwsound.so )
( cd usr/lib ; ln -sf libtupifwsound.so.1.0.0 libtupifwsound.so )
( cd usr/lib ; rm -rf libtupifwgui.so.1.0 )
( cd usr/lib ; ln -sf libtupifwgui.so.1.0.0 libtupifwgui.so.1.0 )
( cd usr/lib ; rm -rf libtupinet.so.1 )
( cd usr/lib ; ln -sf libtupinet.so.1.0.0 libtupinet.so.1 )
( cd usr/lib ; rm -rf libtupifwcore.so.1 )
( cd usr/lib ; ln -sf libtupifwcore.so.1.0.0 libtupifwcore.so.1 )
( cd usr/lib ; rm -rf libplugincommon.so.1 )
( cd usr/lib ; ln -sf libplugincommon.so.1.0.0 libplugincommon.so.1 )
( cd usr/lib ; rm -rf libtupifwcore.so.1.0 )
( cd usr/lib ; ln -sf libtupifwcore.so.1.0.0 libtupifwcore.so.1.0 )
( cd usr/lib ; rm -rf libtupistore.so.1.0 )
( cd usr/lib ; ln -sf libtupistore.so.1.0.0 libtupistore.so.1.0 )
( cd usr/lib ; rm -rf libtupistore.so )
( cd usr/lib ; ln -sf libtupistore.so.1.0.0 libtupistore.so )
( cd usr/lib ; rm -rf libtupibase.so )
( cd usr/lib ; ln -sf libtupibase.so.1.0.0 libtupibase.so )
( cd usr/lib ; rm -rf libplugincommon.so )
( cd usr/lib ; ln -sf libplugincommon.so.1.0.0 libplugincommon.so )
( cd usr/lib ; rm -rf libtupistore.so.1 )
( cd usr/lib ; ln -sf libtupistore.so.1.0.0 libtupistore.so.1 )
( cd usr/lib ; rm -rf libtupifwsound.so.1.0 )
( cd usr/lib ; ln -sf libtupifwsound.so.1.0.0 libtupifwsound.so.1.0 )
( cd usr/lib ; rm -rf libtupinet.so.1.0 )
( cd usr/lib ; ln -sf libtupinet.so.1.0.0 libtupinet.so.1.0 )
( cd usr/lib ; rm -rf libtupi.so )
( cd usr/lib ; ln -sf libtupi.so.1.0.0 libtupi.so )
( cd usr/lib ; rm -rf libtupibase.so.1.0 )
( cd usr/lib ; ln -sf libtupibase.so.1.0.0 libtupibase.so.1.0 )
( cd usr/lib ; rm -rf libtupi.so.1 )
( cd usr/lib ; ln -sf libtupi.so.1.0.0 libtupi.so.1 )
( cd usr/lib ; rm -rf libtupifwsound.so.1 )
( cd usr/lib ; ln -sf libtupifwsound.so.1.0.0 libtupifwsound.so.1 )
( cd usr/lib ; rm -rf libtupi.so.1.0 )
( cd usr/lib ; ln -sf libtupi.so.1.0.0 libtupi.so.1.0 )
( cd usr/lib ; rm -rf libtupifwgui.so )
( cd usr/lib ; ln -sf libtupifwgui.so.1.0.0 libtupifwgui.so )
( cd usr/lib ; rm -rf libplugincommon.so.1.0 )
( cd usr/lib ; ln -sf libplugincommon.so.1.0.0 libplugincommon.so.1.0 )
( cd usr/lib ; rm -rf libtupifwgui.so.1 )
( cd usr/lib ; ln -sf libtupifwgui.so.1.0.0 libtupifwgui.so.1 )
( cd usr/lib ; rm -rf libtupinet.so )
( cd usr/lib ; ln -sf libtupinet.so.1.0.0 libtupinet.so )
( cd usr/lib ; rm -rf libtupibase.so.1 )
( cd usr/lib ; ln -sf libtupibase.so.1.0.0 libtupibase.so.1 )
( cd usr/lib ; rm -rf libtupifwcore.so )
( cd usr/lib ; ln -sf libtupifwcore.so.1.0.0 libtupifwcore.so )
