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



commit 02f1754849a7cda1b9bc82e4ae26ecfbd6f8f9a7
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]