VFS: Added 7zr executable detection in u7z

On many distributions by default only the reduced version of p7zip (7zr)
is installed (e.g. on Debian p7zip package provides 7zr executable and
p7zip-full package provides 7za executable).

This patch adds the detection of 7zr in case if 7za is not available.
This commit is contained in:
Matthieu Crapet 2010-11-08 22:40:37 +01:00 committed by Andrew Borodin
parent d169d13296
commit 32a9d93978

View File

@ -5,7 +5,7 @@
# Some Bugfixes/workarounds by Sergiy Niskorodov <sgh@mail.zp.ua>
# Licensed under GNU GPL version 2 or later version.
P7ZIP=`which 7z 2>/dev/null` || P7ZIP=`which 7za 2>/dev/null`
P7ZIP=`which 7z 2>/dev/null` || P7ZIP=`which 7za 2>/dev/null` || P7ZIP=`which 7zr 2>/dev/null`
mcu7zip_list ()
{