Commit bf3b0e74 authored by Vitaly Lipatov's avatar Vitaly Lipatov

erc: add squashfs support

parent df9596fd
......@@ -79,6 +79,7 @@ zstd
exe
AppImage
appimage
squashfs
EOF
}
......
......@@ -94,6 +94,13 @@ extract_archive()
exit
fi
if [ "$type" = "squashfs" ] ; then
local subdir="$(basename "$arc" .squashfs)"
mkdir -p "$subdir" && cd "$subdir" || fatal
docmd $HAVE_7Z x ../"$arc"
exit
fi
if have_patool ; then
docmd patool $verbose extract "$arc" "$@"
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment