AppImageCommunity / pkg2appimage

Tool and recipes to convert existing deb packages to AppImage
http://appimage.org
MIT License
684 stars 209 forks source link

pkg2appimage failed to parse Depends field in deb package #526

Open pmsoftware78 opened 1 year ago

pmsoftware78 commented 1 year ago

Due to upgrade to modern cmake (>=3.14) control file is generated in alphabetical order: Architecture: xxxx Depends: xxxxx Description: xxxxx Homepage: xxxx Maintainer: xxxxx Package: xxxxx Priority: xxxxx Section: xxxxxx Version: xxxxxxxxxxxx

However apt-get.do-download() function require that Depends is 1-2 lines after package: local dependencies=($(cat cache.txt | grep -A 2 -m 1 ^"Package: ${1}"$ \ | grep ^"Depends: " \