Fix: Remove color code from the "updates" array when using the --download option
When using the "Color" option in pacman.conf
, the "updates" array is now generated with color codes (as introduced in 53c94a04).
This change broke the --download
option as the heading color code before the name of the packages in the array prevents pacman from finding them.
This commit aims to fix that by removing the heading color code in front of the packages name in the array before trying to download them via pacman, when the "Color" option is set in pacman.conf
.
Fixes #124 (closed)