mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-20 08:00:18 -04:00
Currently we try to update the "appstream2" branch and if that fails try to update the "appstream" branch. If that fails too we return the error message from the appstream2 update, which can be misleading. So this commit combines both error messages into one so you get something like this: $ flatpak update --appstream tamaulipas-apps error: Error updating appstream2: No such ref 'appstream2/x86_64' in remote tamaulipas-apps; Error updating appstream: Update is older than current version That should make debugging easier for https://github.com/flatpak/flatpak/issues/1615.