summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-21 18:36:48 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-21 18:36:48 +0200
commit3383eefc8244c14db921ed13cccd9bacdd615033 (patch)
tree2bae8ac24cc6aacb69318b32200168e0c92cc59d /app
parent29458bc154f2f43a59b2dca6fab8975a2636194a (diff)
downloadxdg-app-3383eefc8244c14db921ed13cccd9bacdd615033.tar.gz
Drop checks for old ostree versions
Diffstat (limited to 'app')
-rw-r--r--app/xdg-app-builtins-add-remote.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/xdg-app-builtins-add-remote.c b/app/xdg-app-builtins-add-remote.c
index 2b53c0d..dc39dfd 100644
--- a/app/xdg-app-builtins-add-remote.c
+++ b/app/xdg-app-builtins-add-remote.c
@@ -129,14 +129,9 @@ import_keys (XdgAppDir *dir,
if (!open_source_stream (&input_stream, cancellable, error))
return FALSE;
-#ifdef HAVE_OSTREE_REPO_REMOTE_GPG_IMPORT
if (!ostree_repo_remote_gpg_import (xdg_app_dir_get_repo (dir), remote_name, input_stream,
NULL, &imported, cancellable, error))
return FALSE;
-#else
- if (FALSE)
- return xdg_app_fail (error, "gpg key import not supported by libostree, use --no-gpg-verify");
-#endif
/* XXX If we ever add internationalization, use ngettext() here. */
g_print ("Imported %u GPG key%s to remote \"%s\"\n",