[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 175/331] Set the kind of app to generic for sideloaded debs



commit bd9c08673651b383c69fa90831dea0cb811bf28f
Author: William Hua <william hua canonical com>
Date:   Tue Mar 29 11:02:19 2016 -0400

    Set the kind of app to generic for sideloaded debs

 src/plugins/gs-plugin-apt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index a09552c..f491200 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -969,6 +969,7 @@ gs_plugin_filename_to_app (GsPlugin      *plugin,
        gs_app_set_management_plugin (app, "dpkg");
        gs_app_add_source (app, tokens[0]);
        gs_app_set_origin (app, path);
+       gs_app_set_kind (app, AS_APP_KIND_GENERIC);
 
        gs_plugin_add_app (list, app);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]