* extfs/urar.in: Use rar if unrar is missing.

From PLD Linux Distribution.
This commit is contained in:
Pavel Roskin 2002-08-26 04:44:20 +00:00
parent a78d8d408e
commit 7744a57826
1 changed files with 4 additions and 0 deletions

View File

@ -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} '