Skip to content

Commit

Permalink
Merge pull request #198 from lxqt/rpm_fix
Browse files Browse the repository at this point in the history
A small fix for rpm
  • Loading branch information
tsujan authored Nov 2, 2020
2 parents a908223 + 9af1759 commit b3a60a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/fr-command-rpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ fr_command_rpm_get_capabilities (FrCommand *comm,
FrCommandCap capabilities;

capabilities = FR_COMMAND_CAN_ARCHIVE_MANY_FILES;
if (is_program_available ("cpio", check_command))
if (is_program_available ("bsdtar", check_command))
capabilities |= FR_COMMAND_CAN_READ;

return capabilities;
Expand All @@ -245,7 +245,7 @@ static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
{
return PACKAGES ("cpio,rpm");
return PACKAGES ("bsdtar");
}


Expand Down

0 comments on commit b3a60a8

Please sign in to comment.