diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-21 18:34:28 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-21 18:34:28 +0200 |
commit | 29458bc154f2f43a59b2dca6fab8975a2636194a (patch) | |
tree | 4033d406c23bc5070291e8e4cd07666e509cfdcc /app | |
parent | 16a02dd6c16ed0ec7074725592e731c764f38749 (diff) | |
download | xdg-app-29458bc154f2f43a59b2dca6fab8975a2636194a.tar.gz |
Remove support for older ostree without bundle support
This is not needed when we depend on 2016.5
Diffstat (limited to 'app')
-rw-r--r-- | app/xdg-app-builtins-build-bundle.c | 3 | ||||
-rw-r--r-- | app/xdg-app-builtins-build-import-bundle.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/app/xdg-app-builtins-build-bundle.c b/app/xdg-app-builtins-build-bundle.c index dd12163..b56a323 100644 --- a/app/xdg-app-builtins-build-bundle.c +++ b/app/xdg-app-builtins-build-bundle.c @@ -277,9 +277,6 @@ xdg_app_builtin_build_bundle (int argc, char **argv, GCancellable *cancellable, repofile = g_file_new_for_commandline_arg (location); repo = ostree_repo_new (repofile); - if (!xdg_app_supports_bundles (repo)) - return xdg_app_fail (error, "Your version of ostree is too old to support single-file bundles"); - if (!g_file_query_exists (repofile, cancellable)) return xdg_app_fail (error, "'%s' is not a valid repository", location); diff --git a/app/xdg-app-builtins-build-import-bundle.c b/app/xdg-app-builtins-build-import-bundle.c index 61c1dd9..00fe645 100644 --- a/app/xdg-app-builtins-build-import-bundle.c +++ b/app/xdg-app-builtins-build-import-bundle.c @@ -96,9 +96,6 @@ xdg_app_builtin_build_import (int argc, char **argv, GCancellable *cancellable, repofile = g_file_new_for_commandline_arg (location); repo = ostree_repo_new (repofile); - if (!xdg_app_supports_bundles (repo)) - return xdg_app_fail (error, "Your version of ostree is too old to support single-file bundles"); - if (!g_file_query_exists (repofile, cancellable)) return xdg_app_fail (error, "'%s' is not a valid repository", location); |