diff options
-rw-r--r-- | ranger/defaults/apps.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 44e209a1..762bdc6e 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -77,7 +77,7 @@ class CustomApplications(Applications): return self.either(c, 'edit_or_run') if f.container: - return self.either(c, 'aunpack') + return self.either(c, 'aunpack', 'file_roller') if f.video or f.audio: if f.video: @@ -164,6 +164,11 @@ class CustomApplications(Applications): return tup('aunpack', '-l', c.file.path) return tup('aunpack', c.file.path) + @depends_on('file-roller') + def app_file_roller(self, c): + c.flags += 'd' + return tup('file-roller', c.file.path) + @depends_on('make') def app_make(self, c): if c.mode is 0: |