summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-08 22:14:36 +0200
committerhut <hut@lavabit.com>2010-10-08 22:14:36 +0200
commit91cfd75cf564605dc01826a7980087b4a4ee6871 (patch)
treec6b08303107d0df396d1a812e3852d1a3cc5fae2
parent37ea434a29e7919e5aca9a13374a6d5d380d4eb5 (diff)
downloadranger-91cfd75cf564605dc01826a7980087b4a4ee6871.tar.gz
data/scope.sh: sort archive extensions
-rwxr-xr-xranger/data/scope.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 80fd2ea7..9ce35fd9 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -25,8 +25,8 @@ extension=$(echo "$1" | grep '\.' | grep -o '[^.]\+$')
 
 case "$extension" in
 	# Archive extensions:
-	tar|gz|tgz|bz|tbz|bz2|tbz2|Z|tZ|lzo|tzo|lz|tlz|xz|txz|7z|t7z|\
-	zip|jar|war|rar|lha|lzh|alz|ace|a|arj|arc|rpm|cab|lzma|rz|cpio)
+	7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|gz|jar|lha|lz|lzh|lzma|lzo\
+	|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xz|Z|zip)
 		atool -l "$1" || exit 1
 		exit 0;;
 	# HTML Pages: