mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-02 21:17:47 -04:00
Update appstream data on "flatpak update" (#1169)
* Update appstream data on "flatpak update" This is especially useful since we now have flatpak search which uses this data. * fixup! Update appstream data on "flatpak update"
This commit is contained in:
committed by
Matthew Leeds
parent
c429951755
commit
105f00b918
@@ -251,6 +251,9 @@ flatpak_builtin_update (int argc,
|
||||
if (!flatpak_transaction_run (transaction, FALSE, cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
if (n_prefs == 0)
|
||||
return update_appstream (dir, NULL, cancellable, error);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<para>
|
||||
Updates applications and runtimes. <arg choice="plain">REF</arg> is a reference to the
|
||||
application or runtime to install. If no <arg choice="plain">REF</arg> is given, everything
|
||||
is updated.
|
||||
is updated, as well as appstream info for all remotes.
|
||||
</para>
|
||||
<para>
|
||||
Each <arg choice="plain">REF</arg> arguments is a full or partial indentifier in the
|
||||
|
||||
Reference in New Issue
Block a user