kupfer doesn't follow symlinks when saving the configuration file
Bug #1394152 reported by
Benjamin Albrecht
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
New
|
Undecided
|
Unassigned |
Bug Description
I manage my kupfer.cfg alongside other dotfiles with homeshick. [1]
When changing settings using the preferences menu, the symbolic link that points from ~/.config/
As a result, the updated settings don't get written to the dotfiles repository.
Attached is a patch, that fixes this behaviour, simply by calling os.path.realpath() [2] on the path of the config file before renaming the temporary file.
[1] https:/
[2] https:/
To post a comment you must log in.