From 0b918ac05f8c7e48c67342594c3aa66b3b6e3790 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Mon, 15 Jun 2015 20:49:42 +0100 Subject: [PATCH] eopkg: Fix handling of ypkg packages Signed-off-by: Ikey Doherty --- src/packaging/eopkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/eopkg.c b/src/packaging/eopkg.c index c3f5187..fd93ca9 100644 --- a/src/packaging/eopkg.c +++ b/src/packaging/eopkg.c @@ -149,7 +149,7 @@ bool eopkg_is_ignored(struct source_package_t *pkg, char *id) bool eopkg_is_package(const char *filename) { - return g_str_has_suffix((const gchar*)filename, "pspec.xml") || g_str_has_prefix((const gchar*)filename, "pspec_x86_64.xml"); + return g_str_has_suffix((const gchar*)filename, "pspec.xml") || g_str_has_suffix((const gchar*)filename, "pspec_x86_64.xml"); } void eopkg_locate_sources(const char *directory, bool recurse)