-
Notifications
You must be signed in to change notification settings - Fork 39
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
Use a decent alternative for /etc/conf.d/snapper
#42
Conversation
Use a decent fallback if `/etc/conf.d/snapper` does not exist, by considering all available snapper configurations.
I didn't realize it was not in that location on other distributions. It looks like for Ubuntu it is at The problem of looking in the directory is that someone can have a configuration that they no longer use.I have several configurations that I created for snapper but have stopped using simply by modifying the global configuration file. |
So in my case it's not even there and i have no idea were it could be :/ |
What does your local manpage say for snapper? Perhaps the location has changed. |
It says |
I believe the default that upstream provides is |
I'm thinking the right way to fix this is to not include every possible location of the configuration file, but instead use the upstream's location by default and then at installation somehow provide an option to specify a different location. |
Just desktop files and icons:
|
Not even the executable is found (i.e. |
|
Oh there it is! |
I'll make this easier to set in the script and available via the Makefile. |
Use a decent fallback if
/etc/conf.d/snapper
does not exist, by considering all available snapper configurations.On some installations (like mine on ubuntu) the
/etc/conf.d/snapper
file doesn't exist. By using all available configurations in the snapper config file folder, the tool also works on those systems.