pacstall / pacstall

An AUR-inspired package manager for Ubuntu
https://pacstall.dev
GNU General Public License v3.0
1.3k stars 46 forks source link

aomp-deb: cannot find patches #512

Closed cat-master21 closed 2 years ago

cat-master21 commented 2 years ago

Describe the bug Aomp-deb cannot find patches

To Reproduce Simply do pacstall -I aomp-deb

Expected behavior Notice aomp-deb cannot find patch.

Desktop (please complete the following information):

Additional context After testing, there isn't a patch folder or just patch, unlike what https://github.com/pacstall/pacstall/wiki/Pacscript-101#patch said there should a PACSTALL_patchesdir folder.

Elsie19 commented 2 years ago

I figured out the issue is that postinst for debs run before patch. The best option is to make the patch downloader into a function and put it before the download.