andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

Pacman 7.0.0 fixes #77

Closed christian-heusel closed 1 month ago

christian-heusel commented 2 months ago

This PR should fix the issues I have mentioned in https://github.com/andrewgregory/pacutils/issues/76#issuecomment-2345066842, although I'm not much of a C programmer, so please double check everything!

$ LD_LIBRARY_PATH=lib/ ./src/pacconf --config=pacman.conf DisableSandbox DownloadUser
DisableSandbox
DownloadUser = alpm
$ LD_LIBRARY_PATH=lib/ ./src/pacconf --config=pacman.conf | grep -E "DisableSandbox|DownloadUser"
DownloadUser = alpm
DisableSandbox
andrewgregory commented 1 month ago

Manually incorporated into the pacman-7.0.0 commit.