[gnome-software/wip/kalev/rpm-ostree-layered-package-install: 1/7] appstream: Always set system scope for packages
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/rpm-ostree-layered-package-install: 1/7] appstream: Always set system scope for packages
- Date: Sat, 23 Feb 2019 17:05:49 +0000 (UTC)
commit 023de72ab0b4a16cef85e8a2be973b44d49ae59a
Author: Kalev Lember <klember redhat com>
Date: Sat Feb 23 12:55:47 2019 +0100
appstream: Always set system scope for packages
If the package name is set we can safely assume that the install scope
is system.
plugins/core/gs-appstream.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/core/gs-appstream.c b/plugins/core/gs-appstream.c
index bce2e0d6..ec137786 100644
--- a/plugins/core/gs-appstream.c
+++ b/plugins/core/gs-appstream.c
@@ -833,6 +833,7 @@ gs_appstream_refine_app (GsPlugin *plugin,
gs_app_add_source (app, tmp);
}
gs_app_set_bundle_kind (app, AS_BUNDLE_KIND_PACKAGE);
+ gs_app_set_scope (app, AS_APP_SCOPE_SYSTEM);
}
/* add bundles */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]