From 29458bc154f2f43a59b2dca6fab8975a2636194a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 21 Apr 2016 18:34:28 +0200 Subject: Remove support for older ostree without bundle support This is not needed when we depend on 2016.5 --- app/xdg-app-builtins-build-bundle.c | 3 --- app/xdg-app-builtins-build-import-bundle.c | 3 --- 2 files changed, 6 deletions(-) (limited to 'app') 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); -- cgit v1.2.1