Force re-running of installation scripts
A '--force' flag for install, or something similar, that forces dots to rerun all installation scripts (*.install files).
At the moment, dots only will execute an installation script if the corresponding configuration file has changed.
How about -r for --reinstall. Which will force reinstalling of the selected configuration files (even if they haven't changed). Which will also run the install scripts.
Or do you think it should be more fine grained where we differentiate between reinstalling configuration files, and re-running the install scripts?
I don't think there's a need to differentiate—a "--reinstall' option sounds good to me.
I would like to propose another enhancement: *.update scrips (or something similar), which get executed every time dots install is been executed whether or not the config file have changed. I would like to use this, to sync some dconf/gsettings config between my computers.
What do you think about this proposal?
@countsudoku I'm definitely open to something like that.
I've been quite busy for the past few months and unforunately have not had the time to work on a refactored version of dots as I've briefly outlined in GH-20. So I'm not sure I'll have time to implement it (though it should be very straight forward, and thus I would be open to a PR.