flatpak remote-list --system &> /dev/null || :

( cd usr/lib64 ; rm -rf libflatpak.so )
( cd usr/lib64 ; ln -sf libflatpak.so.0 libflatpak.so )
( cd usr/lib64 ; rm -rf libflatpak.so.0 )
( cd usr/lib64 ; ln -sf libflatpak.so.0.11510.0 libflatpak.so.0 )
( cd usr/man/man5 ; rm -rf flatpak-flatpakref.5.gz )
( cd usr/man/man5 ; ln -sf flatpakref.5.gz flatpak-flatpakref.5.gz )
( cd usr/man/man5 ; rm -rf flatpak-flatpakrepo.5.gz )
( cd usr/man/man5 ; ln -sf flatpakrepo.5.gz flatpak-flatpakrepo.5.gz )
