diff options
author | hut <hut@lavabit.com> | 2013-02-06 01:57:47 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-06 01:57:47 +0100 |
commit | 6752c233c6092e983d878c005219141ccc97027b (patch) | |
tree | 3fc4ee50077e4110a976078f2d032baee9b929a2 | |
parent | f76d20ca46b8bd08423de3f2d56e8a7037329859 (diff) | |
download | ranger-6752c233c6092e983d878c005219141ccc97027b.tar.gz |
data/scope: add missing flags for bsdtar call
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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;; |