-
Notifications
You must be signed in to change notification settings - Fork 910
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
Only update chocolatey.config if there are changes #364
Comments
I wonder if we already have an issue related to this. We have plans to not make changes to the file unless there are differences. |
Related to #355 |
Do not try to write to the config file unless something has changed.
* stable: (GH-364) Only update the config if changed (resharper) line breaks at 195 characters (maint) formatting
+1 |
@BeezUPJohnny - as an FYI, run choco in an elevated shell to not see the message ever. :) |
Works ! Thanks ! |
I'm using Puppet to install and configure Chocolatey to point to our internal repositories, I noticed that Puppet was detecting drift on the
C:\ProgramData\chocolatey\config\chocolatey.config
file on every run.I set the
C:\ProgramData\chocolatey\config\chocolatey.config
file to read-only and ran the following : -I don't see why Chocolatey needs to be updating the config file on every command execution, especially since it doesn't appear to be making any changes?
The text was updated successfully, but these errors were encountered: