File deluge-update_7z_binary.patch of Package deluge
--- deluge/plugins/extractor/extractor/core.py.orig 2013-08-18 21:12:21.698045802 +0300
+++ deluge/plugins/extractor/extractor/core.py 2013-08-18 21:12:39.143827700 +0300
@@ -76,7 +76,7 @@
EXTRACT_COMMANDS = dict.fromkeys(exts_7z, [win_7z_exe, switch_7z])
break
else:
- required_cmds=["unrar", "unzip", "tar", "unxz", "unlzma", "7zr", "bunzip2"]
+ required_cmds=["unrar", "unzip", "tar", "unxz", "unlzma", "7z", "bunzip2"]
## Possible future suport:
# gunzip: gz (cmd will delete original archive)
## the following do not extract to dest dir
@@ -92,7 +92,7 @@
".tar.bz2": ["tar", "-xjf"], ".tbz": ["tar", "-xjf"],
".tar.lzma": ["tar", "--lzma -xf"], ".tlz": ["tar", "--lzma -xf"],
".tar.xz": ["tar", "--xz -xf"], ".txz": ["tar", "--xz -xf"],
- ".7z": ["7zr", "x"],
+ ".7z": ["7z", "x"],
}
# Test command exists and if not, remove.
for cmd in required_cmds: