If Pacaur is run while custom .curlrc with a -w flag is present, Pacaur fails to parse JSON responses.
Output
pacaur -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
:: Starting AUR upgrade...
:: Failed to parse JSON
:: Failed to parse JSON
:: cower is not present in AUR -- skipping
:: pacaur is not present in AUR -- skipping
...
Version
pacaur -v
Description
If Pacaur is run while custom .curlrc with a
-w
flag is present, Pacaur fails to parse JSON responses.Output
pacaur -Syu
Debug output
bash -x pacaur <your command>
Attachment: out.txt
Curl config
I'm adding a
-w
flag since I use Curl on daily basis and I need to see some stats...cat .curlrc
Proposed solution
Use
-q
flag in Pacaur's calls of Curl to skip the user config file, or force empty-w
flag.Cheers Tom