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

( cd usr/lib64 ; rm -rf libAppStreamQt.so )
( cd usr/lib64 ; ln -sf libAppStreamQt.so.2 libAppStreamQt.so )
( cd usr/lib64 ; rm -rf libAppStreamQt.so.2 )
( cd usr/lib64 ; ln -sf libAppStreamQt.so.0.14.6 libAppStreamQt.so.2 )
( cd usr/lib64 ; rm -rf libappstream-compose.so )
( cd usr/lib64 ; ln -sf libappstream-compose.so.0 libappstream-compose.so )
( cd usr/lib64 ; rm -rf libappstream-compose.so.0 )
( cd usr/lib64 ; ln -sf libappstream-compose.so.0.14.6 libappstream-compose.so.0 )
( cd usr/lib64 ; rm -rf libappstream.so )
( cd usr/lib64 ; ln -sf libappstream.so.4 libappstream.so )
( cd usr/lib64 ; rm -rf libappstream.so.4 )
( cd usr/lib64 ; ln -sf libappstream.so.0.14.6 libappstream.so.4 )
( cd usr/share/gtk-doc/html ; rm -rf appstream )
( cd usr/share/gtk-doc/html ; ln -sf ../../../share/doc/appstream/html/api appstream )
