summaryrefslogtreecommitdiff
path: root/src/fr-command-unarchiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-unarchiver.c')
-rw-r--r--src/fr-command-unarchiver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 7518fb5..a6a8c2d 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -247,6 +247,7 @@ fr_command_unarchiver_handle_error (FrCommand *comm,
const char *unarchiver_mime_type[] = { "application/zip",
"application/x-cbr",
"application/x-rar",
+ "application/x-cpio",
NULL };
static const char **
@@ -255,12 +256,12 @@ fr_command_unarchiver_get_mime_types (FrCommand *comm)
return unarchiver_mime_type;
}
-static FrCommandCap
+static FrCommandCaps
fr_command_unarchiver_get_capabilities (FrCommand *comm,
const char *mime_type,
gboolean check_command)
{
- FrCommandCap capabilities;
+ FrCommandCaps capabilities;
capabilities = FR_COMMAND_CAN_DO_NOTHING;
if (is_program_available ("lsar", check_command) && is_program_available ("unar", check_command))