aconfmgr
aconfmgr copied to clipboard
Use --dereference flag for cp
There's already a CreateLink, so there doesn't seem to be much point in copying symlinks. Using --dereference opens up more possibilities for storing config files.
This is a breaking change.
I suggest that you write a custom helper function.
I'm willing to do that. Would you be opposed to me adding another parameter to the existing CopyFile instead? That would keep backwards compatibility while avoiding a nearly duplicate function.
I wouldn't be opposed to it if there was considerable demand for such a feature.
Otherwise, I'd like to keep the number of helper functions to the minimum required in normal usage. Since extensibility is not an issue, anyone can add their helper functions to their configuration (e.g. 10-helpers.sh
), so there is no pressure to integrate them into the software itself. Perhaps the project wiki (or a page on the Arch wiki) would be a better place to collect potentially useful helpers.