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

chore: Streamline option checking in arch-update.conf #247

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

Antiz96
Copy link
Owner

@Antiz96 Antiz96 commented Sep 25, 2024

Description

Streamline option checking in the arch-update.conf configuration file by optimizing the way each option are checked and the way the related variables are set:

  • lib/config.sh is now dedicated to checking options set in arch-update.conf
  • Options are only checked if the arch-update.conf file is found/exists
  • Values for the variables related to each options are now directly set with the output of grep (instead of running grep twice; once to check the validity of the set value and once to affiliate the value with the variable).

Streamline option checking in the `arch-update.conf` configuration file by optimizing the way each option are checked and the way the related variables are set.
@Antiz96 Antiz96 added this to the v3.1.0 milestone Sep 25, 2024
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 0bd5ee7 into main Sep 25, 2024
1 check passed
@Antiz96 Antiz96 deleted the streamline_config_option branch September 25, 2024 17:44
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