Drop checks for old ostree versions

This commit is contained in:
Alexander Larsson committed 2016-04-21 18:36:48 +02:00
1 parent 29458bc154
commit 3383eefc82
2 files changed
-6

No files matched your search

-5
View File
@@ -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",
-1
View File
@@ -119,7 +119,6 @@ AC_SUBST(OSTREE_CFLAGS)
AC_SUBST(OSTREE_LIBS)
save_LIBS=$LIBS
LIBS=$OSTREE_LIBS
AC_CHECK_FUNCS(ostree_repo_remote_gpg_import)
LIBS=$save_LIBS
PKG_CHECK_MODULES(FUSE, [fuse])