From c541db5190d60a70d16af687a0f2071f2ea1298f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 1 Dec 2019 17:48:04 +0100 Subject: use cpio if no binary is found origin commit: https://gitlab.gnome.org/GNOME/file-roller/commit/eb8a7fa --- configure.ac | 2 +- src/fr-command-rpm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 680e2c0..84ab58a 100644 --- a/configure.ac +++ b/configure.ac @@ -166,7 +166,7 @@ fi AM_CONDITIONAL(ENABLE_MAGIC, test x"$enable_magic" != x"no") AC_ARG_VAR([CPIO], [Path to the `cpio` command]) -AC_PATH_PROGS(CPIO, gcpio cpio) +AC_PATH_PROGS(CPIO, gcpio cpio, cpio) AC_DEFINE_UNQUOTED(CPIO_PATH, "${CPIO}", [Path to cpio]) dnl ****************************** diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c index c05c317..751f9a9 100644 --- a/src/fr-command-rpm.c +++ b/src/fr-command-rpm.c @@ -252,7 +252,7 @@ static const char * fr_command_rpm_get_packages (FrCommand *comm, const char *mime_type) { - return PACKAGES (CPIO_PATH ",rpm"); + return PACKAGES ("cpio,rpm"); } -- cgit v1.2.1