aconfmgr icon indicating copy to clipboard operation
aconfmgr copied to clipboard

Use --dereference flag for cp

Open thenaterhood opened this issue 8 years ago • 3 comments

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.

thenaterhood avatar Sep 20 '16 01:09 thenaterhood

This is a breaking change.

I suggest that you write a custom helper function.

CyberShadow avatar Sep 20 '16 08:09 CyberShadow

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.

thenaterhood avatar Sep 21 '16 00:09 thenaterhood

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.

CyberShadow avatar Sep 26 '16 11:09 CyberShadow