* 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

View File

@ -14,6 +14,10 @@ UNRAR=$DRAR/unrar # Prefer unrar (freeware)
# ftp.elf.stuba.sk/pub/pc/pack # ftp.elf.stuba.sk/pub/pc/pack
# #
if [ ! -x $UNRAR -a -x $RAR ]; then
UNRAR=$RAR
fi
mcrarfs_list () mcrarfs_list ()
{ {
$UNRAR v -c- "$1" | @AWK@ -v uid=${UID-0} ' $UNRAR v -c- "$1" | @AWK@ -v uid=${UID-0} '