From 6752c233c6092e983d878c005219141ccc97027b Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 6 Feb 2013 01:57:47 +0100 Subject: data/scope: add missing flags for bsdtar call --- ranger/data/scope.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 8a0f20c4..6a5332ac 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -48,7 +48,7 @@ case "$extension" in rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip) try als "$path" && { dump | trim; exit 0; } try acat "$path" && { dump | trim; exit 3; } - try bsdtar "$path" && { dump | trim; exit 0; } + try bsdtar -lf "$path" && { dump | trim; exit 0; } exit 1;; rar) try unrar -p- lt "$path" && { dump | trim; exit 0; } || exit 1;; -- cgit 1.4.1-2-gfad0