LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File _service:download_src_package:09_choose_correct_urar.patch of Package mc (Project home:eo4iwc:openSUSE11.3)

--- mc-4.6.2/vfs/extfs/urar.in
+++ mc-4.6.2/vfs/extfs/urar.in
@@ -22,6 +22,10 @@
     fi
 done
 
+if [ ! -x $UNRAR -a -x $RAR ]; then
+    UNRAR=$RAR
+fi
+
 mcrarfs_list ()
 {
      $UNRAR v -c- "$1" | @AWK@ -v uid=`id -u` -v gid=`id -g` '