Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explictely set color option of wrapped tools in the main script #140

Merged
merged 6 commits into from
Apr 14, 2024

Conversation

Antiz96
Copy link
Owner

@Antiz96 Antiz96 commented Apr 14, 2024

Paru recently changed the way the color output are automatically enabled, resulting in a non-colored output when executing arch-update.

This PR aims to fix that by enforcing the color option depending on the presence of the NoColor option in arch-update.conf (--color always|never) for Paru but also for every wrapped tool in the main script (pacman, yay/paru, pacman-contrib tools, etc...) to avoid such issue in the future.

Copy link
Owner Author

@Antiz96 Antiz96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Antiz96 Antiz96 merged commit 45c430c into main Apr 14, 2024
1 check passed
@Antiz96 Antiz96 deleted the force_color branch April 14, 2024 19:19
@Antiz96 Antiz96 changed the title Explictely set color option of wrapped tool in the main script Explictely set color option of wrapped tools in the main script Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant