diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-12-21 10:39:23 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-12-21 10:39:23 +0100 |
commit | 1264335458c181edd64f1b66f578ff73ca599892 (patch) | |
tree | 76d6ab78d9d6b5f4fcf6cf7922b7eb4cd060604d /builder/builder-source.c | |
parent | ea543c8f93c24fb628efe3884c8e421176fdb02e (diff) | |
download | xdg-app-1264335458c181edd64f1b66f578ff73ca599892.tar.gz |
builder: Add --disable-updates
Download sources, but never update existing sources (like git or bzr).
Diffstat (limited to 'builder/builder-source.c')
-rw-r--r-- | builder/builder-source.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builder/builder-source.c b/builder/builder-source.c index ac508a1..7ab242d 100644 --- a/builder/builder-source.c +++ b/builder/builder-source.c @@ -99,6 +99,7 @@ builder_source_set_property (GObject *object, static gboolean builder_source_real_download (BuilderSource *self, + gboolean update_vcs, BuilderContext *context, GError **error) { @@ -219,6 +220,7 @@ builder_source_from_json (JsonNode *node) gboolean builder_source_download (BuilderSource *self, + gboolean update_vcs, BuilderContext *context, GError **error) { @@ -226,7 +228,7 @@ builder_source_download (BuilderSource *self, class = BUILDER_SOURCE_GET_CLASS (self); - return class->download (self, context, error); + return class->download (self, update_vcs, context, error); } gboolean |