summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-06 01:57:47 +0100
committerhut <hut@lavabit.com>2013-02-06 01:57:47 +0100
commit6752c233c6092e983d878c005219141ccc97027b (patch)
tree3fc4ee50077e4110a976078f2d032baee9b929a2
parentf76d20ca46b8bd08423de3f2d56e8a7037329859 (diff)
downloadranger-6752c233c6092e983d878c005219141ccc97027b.tar.gz
data/scope: add missing flags for bsdtar call
-rwxr-xr-xranger/data/scope.sh2
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;;