Merge branch '4518_unrar7'

* 4518_unrar7:
  Ticket #4518: extfs: support unrar-7.
This commit is contained in:
Andrew Borodin 2024-01-30 21:55:03 +03:00
commit c1832fd586
1 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,10 @@ mcrar5fs_list ()
mcrarfs_list ()
{
[ x$UNRAR_VERSION = x6 -o x$UNRAR_VERSION = x5 ] && mcrar5fs_list "$@" || mcrar4fs_list "$@"
case x$UNRAR_VERSION in
x5 | x6 | x7) mcrar5fs_list "$@" ;;
*) mcrar4fs_list "$@" ;;
esac
}
mcrarfs_copyin ()