diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-27 12:41:41 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-27 12:41:41 +0200 |
commit | 64669a9a961c7422e751e6cb662c113cfdd58cfe (patch) | |
tree | 9b75ec3675f54f9d17997df20a6176cf303bd988 /system-helper | |
parent | b8b3d319d4daa230a00e76e3ae46fd4d5a79b843 (diff) | |
download | xdg-app-64669a9a961c7422e751e6cb662c113cfdd58cfe.tar.gz |
common: Write and use the new deploydata file
Instead of separate "origin", "subpaths" and eventually "installed-size"
files we store a single (extensible) gvariant with all this info, which
means we need to seek less to get it.
Also, we move this file into the deploy dir as some of the data
differs for each deploy, and that way we can rely on the the active
symlink to make the update atomic.
Diffstat (limited to 'system-helper')
-rw-r--r-- | system-helper/xdg-app-system-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system-helper/xdg-app-system-helper.c b/system-helper/xdg-app-system-helper.c index da33f6c..6c03a66 100644 --- a/system-helper/xdg-app-system-helper.c +++ b/system-helper/xdg-app-system-helper.c @@ -130,7 +130,7 @@ handle_deploy (XdgAppSystemHelper *object, if (is_update) { /* TODO: This doesn't support a custom subpath */ - if (!xdg_app_dir_deploy_update (system, arg_ref, arg_origin, + if (!xdg_app_dir_deploy_update (system, arg_ref, NULL, NULL, &error)) { |