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

Support Debian / Ubuntu #1

Open
hahnjo opened this issue Jun 19, 2018 · 1 comment
Open

Support Debian / Ubuntu #1

hahnjo opened this issue Jun 19, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hahnjo
Copy link
Owner

hahnjo commented Jun 19, 2018

Find out if apt also has a .*new scheme for configuration files.

@hahnjo hahnjo added the enhancement New feature or request label Jun 19, 2018
@hahnjo
Copy link
Owner Author

hahnjo commented Oct 29, 2022

Yes, a similar concept exists with dpkg, see https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/

However, it's a bit more complicated than Arch Linux and CentOS and the user is presented with a choice: If they want to keep the existing version of a configuration file, the new version is installed with the extension .dpkg-dist. This could be used by DynConf. But if they choose to immediately install the new version, the old version is renamed to .dpkg-old. If you now run DynConf and there already is an .orig file, it will restore the (modified) original version and overwrite the new version...

@hahnjo hahnjo added the help wanted Extra attention is needed label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant