( cd usr/lib64 ; rm -rf libtracker-sparql-0.12.so.0 )
( cd usr/lib64 ; ln -sf libtracker-sparql-0.12.so.0.1200.8 libtracker-sparql-0.12.so.0 )
( cd usr/lib64 ; rm -rf libtracker-sparql-0.12.so )
( cd usr/lib64 ; ln -sf libtracker-sparql-0.12.so.0.1200.8 libtracker-sparql-0.12.so )
( cd usr/lib64/tracker-0.12 ; rm -rf libtracker-common.so )
( cd usr/lib64/tracker-0.12 ; ln -sf libtracker-common.so.0.1200.8 libtracker-common.so )
( cd usr/lib64/tracker-0.12 ; rm -rf libtracker-data.so )
( cd usr/lib64/tracker-0.12 ; ln -sf libtracker-data.so.0.1200.8 libtracker-data.so )
( cd usr/lib64/tracker-0.12 ; rm -rf libtracker-data.so.0 )
( cd usr/lib64/tracker-0.12 ; ln -sf libtracker-data.so.0.1200.8 libtracker-data.so.0 )
( cd usr/lib64/tracker-0.12 ; rm -rf libtracker-common.so.0 )
( cd usr/lib64/tracker-0.12 ; ln -sf libtracker-common.so.0.1200.8 libtracker-common.so.0 )
( cd usr/lib64 ; rm -rf libtracker-miner-0.12.so.0 )
( cd usr/lib64 ; ln -sf libtracker-miner-0.12.so.0.1200.8 libtracker-miner-0.12.so.0 )
( cd usr/lib64 ; rm -rf libtracker-miner-0.12.so )
( cd usr/lib64 ; ln -sf libtracker-miner-0.12.so.0.1200.8 libtracker-miner-0.12.so )
( cd usr/lib64 ; rm -rf libtracker-extract-0.12.so )
( cd usr/lib64 ; ln -sf libtracker-extract-0.12.so.0.1200.8 libtracker-extract-0.12.so )
( cd usr/lib64 ; rm -rf libtracker-extract-0.12.so.0 )
( cd usr/lib64 ; ln -sf libtracker-extract-0.12.so.0.1200.8 libtracker-extract-0.12.so.0 )
( cd usr/lib/firefox-5.0/extensions ; rm -rf trackerfox@bustany.org )
( cd usr/lib/firefox-5.0/extensions ; ln -sf /usr/share/xul-ext/trackerfox trackerfox@bustany.org )

# update desktop entries
if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi

# update hicolor icons
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
        rm -f usr/share/icons/hicolor/icon-theme.cache
fi
usr/bin/gtk-update-icon-cache -f -q usr/share/icons/hicolor 1>/dev/null 2>/dev/null
