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

[fix] don't overwrite configuration file #256

Merged
merged 1 commit into from
Mar 27, 2024
Merged

[fix] don't overwrite configuration file #256

merged 1 commit into from
Mar 27, 2024

Conversation

TheLastZombie
Copy link
Contributor

Currently, if an swhkdrc file exists at the time of installation, make install will overwrite it. This also happens when updating the swhkd-git package on Arch, for example.

It would be preferable to only create the blank file if a configuration does not exist already.

Only create a blank `swhkdrc` file if one does not exist already.
@Shinyzenith
Copy link
Member

Shinyzenith commented Mar 27, 2024

Hi, ideally this should be handled on the side of the packagers but I am willing to merge this after reviewing.

@Shinyzenith Shinyzenith merged commit 3bb60d3 into waycrate:main Mar 27, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants