From 7744a578269f34d8dcf3e612724c423f99fec7e1 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 26 Aug 2002 04:44:20 +0000 Subject: [PATCH] * extfs/urar.in: Use rar if unrar is missing. From PLD Linux Distribution. --- vfs/extfs/urar.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vfs/extfs/urar.in b/vfs/extfs/urar.in index d415aab76..7d3d11970 100644 --- a/vfs/extfs/urar.in +++ b/vfs/extfs/urar.in @@ -14,6 +14,10 @@ UNRAR=$DRAR/unrar # Prefer unrar (freeware) # ftp.elf.stuba.sk/pub/pc/pack # +if [ ! -x $UNRAR -a -x $RAR ]; then + UNRAR=$RAR +fi + mcrarfs_list () { $UNRAR v -c- "$1" | @AWK@ -v uid=${UID-0} '