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

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

if [ -e usr/share/glib-2.0/schemas ]; then
  if [ -x /usr/bin/glib-compile-schemas ]; then
    /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  fi
fi
( cd usr/lib64 ; rm -rf libtracker-control-1.0.so.0 )
( cd usr/lib64 ; ln -sf libtracker-control-1.0.so.0.701.0 libtracker-control-1.0.so.0 )
( cd usr/lib64 ; rm -rf libtracker-sparql-1.0.so )
( cd usr/lib64 ; ln -sf libtracker-sparql-1.0.so.0.701.0 libtracker-sparql-1.0.so )
( cd usr/lib64 ; rm -rf libtracker-miner-1.0.so.0 )
( cd usr/lib64 ; ln -sf libtracker-miner-1.0.so.0.701.0 libtracker-miner-1.0.so.0 )
( cd usr/lib64 ; rm -rf libtracker-control-1.0.so )
( cd usr/lib64 ; ln -sf libtracker-control-1.0.so.0.701.0 libtracker-control-1.0.so )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-data.so.0 )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-data.so.0.0.0 libtracker-data.so.0 )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-extract.so.0 )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-extract.so.0.0.0 libtracker-extract.so.0 )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-common.so.0 )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-common.so.0.0.0 libtracker-common.so.0 )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-common.so )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-common.so.0.0.0 libtracker-common.so )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-extract.so )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-extract.so.0.0.0 libtracker-extract.so )
( cd usr/lib64/tracker-1.0 ; rm -rf libtracker-data.so )
( cd usr/lib64/tracker-1.0 ; ln -sf libtracker-data.so.0.0.0 libtracker-data.so )
( cd usr/lib64 ; rm -rf libtracker-sparql-1.0.so.0 )
( cd usr/lib64 ; ln -sf libtracker-sparql-1.0.so.0.701.0 libtracker-sparql-1.0.so.0 )
( cd usr/lib64 ; rm -rf libtracker-miner-1.0.so )
( cd usr/lib64 ; ln -sf libtracker-miner-1.0.so.0.701.0 libtracker-miner-1.0.so )
( cd usr/share/tracker/miners ; rm -rf org.freedesktop.Tracker1.Miner.Extract.service )
( cd usr/share/tracker/miners ; ln -sf /usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Extract.service org.freedesktop.Tracker1.Miner.Extract.service )
( cd usr/share/tracker/miners ; rm -rf org.freedesktop.Tracker1.Miner.Files.service )
( cd usr/share/tracker/miners ; ln -sf /usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service org.freedesktop.Tracker1.Miner.Files.service )
( cd usr/share/tracker/miners ; rm -rf org.freedesktop.Tracker1.Miner.Applications.service )
( cd usr/share/tracker/miners ; ln -sf /usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service org.freedesktop.Tracker1.Miner.Applications.service )
( cd usr/share/tracker/miners ; rm -rf org.freedesktop.Tracker1.Miner.Userguides.service )
( cd usr/share/tracker/miners ; ln -sf /usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Userguides.service org.freedesktop.Tracker1.Miner.Userguides.service )
