* extfs/urar.in: Search $PATH for unrar, fallback to rar.
Этот коммит содержится в:
родитель
315e7ce3ff
Коммит
a25ad31daf
@ -1,3 +1,7 @@
|
|||||||
|
2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
|
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
|
||||||
|
|
||||||
2003-01-13 Adam Byrtek <alpha@debian.org>
|
2003-01-13 Adam Byrtek <alpha@debian.org>
|
||||||
|
|
||||||
* extfs/patchfs.in: context diff format support, regular
|
* extfs/patchfs.in: context diff format support, regular
|
||||||
|
@ -6,16 +6,21 @@
|
|||||||
# Andrew V. Samoilov <sav@bcs.zp.ua> 2000
|
# Andrew V. Samoilov <sav@bcs.zp.ua> 2000
|
||||||
# beta version 2.0
|
# beta version 2.0
|
||||||
#
|
#
|
||||||
RAR=rar
|
# rar and unrar can be found on http://www.rarlabs.com/
|
||||||
UNRAR=unrar # Prefer unrar (freeware)
|
|
||||||
#
|
|
||||||
# NOTE: rar ver 2.0 by Eugene Roshal
|
|
||||||
# ftp.elf.stuba.sk/pub/pc/pack
|
|
||||||
#
|
|
||||||
|
|
||||||
if ! unrar >/dev/null 2>&1; then
|
RAR=rar
|
||||||
UNRAR=$RAR
|
UNRAR=$RAR
|
||||||
fi
|
|
||||||
|
# Prefer unrar (freeware). Try to find unrar in $PATH.
|
||||||
|
save_IFS="$IFS"; IFS=:
|
||||||
|
for dir in $PATH; do
|
||||||
|
IFS="$save_IFS"
|
||||||
|
test -z "$dir" && dir=.
|
||||||
|
if test -x $dir/unrar -a -f $dir/unrar; then
|
||||||
|
UNRAR=$dir/unrar
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
mcrarfs_list ()
|
mcrarfs_list ()
|
||||||
{
|
{
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user