diff options
author | hut <hut@lavabit.com> | 2009-06-15 20:00:29 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-15 20:00:29 +0200 |
commit | 3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3 (patch) | |
tree | c6658572bbe658ebe53a1effe746090a3f71f567 | |
parent | cecde3a6c41e529d74615de0ced0b4f34d87caa9 (diff) | |
download | ranger-3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3.tar.gz |
temporarily disabled preview of archives
-rw-r--r-- | code/fm/draw.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fm/draw.rb b/code/fm/draw.rb index f326ab23..482abf59 100644 --- a/code/fm/draw.rb +++ b/code/fm/draw.rb @@ -9,7 +9,7 @@ module Fm m = lines - 2 attr_set(Color.base) left, wid = get_boundaries(n) - if file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760 + if false and file.ext =~ /(?:rar|zip|7z|tar|gz)$/ and file.size < 10485760 text = `aunpack -l #{file.sh} 2>> /dev/null` text.each_line do |l| puti i+1, left, l[0, wid-1].ljust(wid) |