summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-10 02:06:44 +0200
committerhut <hut@lavabit.com>2010-10-10 02:08:33 +0200
commit1a8e19243b4dd3bde17a19fb3c3e57d0cc9c0513 (patch)
tree3bdcbd9ee5c2aeda86fa487144951f1a4453e665
parentae24898ad0625c2be9a5918ac0d9c775d6e8f0ad (diff)
downloadranger-1a8e19243b4dd3bde17a19fb3c3e57d0cc9c0513.tar.gz
data/scope, fsobject: add .deb to archive extensions
-rwxr-xr-xranger/data/scope.sh4
-rw-r--r--ranger/fsobject/fsobject.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 5a076130..f4e91d64 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -32,8 +32,8 @@ function have { type -P "$1" > /dev/null; } # test if program is installed
 
 case "$extension" in
 	# Archive extensions:
-	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)
+	7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|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 "$path" | head -n $maxln && exit 3
 		exit 1;;
 	pdf)
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index fd886275..9d9f3db6 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -14,8 +14,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio',
-	'cpt', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar', 'shar',
-	'tar', 'tbz', 'tgz', 'xar', 'xz', 'zip')
+	'cpt', 'deb', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar',
+	'shar', 'tar', 'tbz', 'tgz', 'xar', 'xz', 'zip')
 
 import re
 from os import access, listdir, lstat, readlink, stat