File emelfm2-0.9.1-unrar.patch of Package emelfm2
Index: emelfm2-0.9.1/plugins/e2p_unpack.c
===================================================================
--- emelfm2-0.9.1.orig/plugins/e2p_unpack.c
+++ emelfm2-0.9.1/plugins/e2p_unpack.c
@@ -826,7 +826,7 @@ static gboolean _e2p_unpack (gpointer fr
"tar -xpf %s",
"|ar -x %s", //start the unpack, with block until done, to allow further processing
">|rpm2cpio %s | cpio -id", //ditto
- "rar x -o+ %s", //rar will only extract to current dir
+ "unrar x -o+ %s", //rar and unrar will only extract to current dir
"arj x -y %s", //or "arj x -y "UNPACKPATH" "UNPACKPATH, //NOTE swapped order of archive & path
"zoo xO %s", //zoo will only extract to current dir
"mount -o loop %s ." //auto-detect FS-type, option -o loop needs superuser