diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-19 05:21:39 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-19 05:24:54 +0300 |
commit | 4b98ccb17c894e008453f98ba8b41c6600a4b0a9 (patch) | |
tree | f30cd427df5ebaf1d9f249dfecb99c622625e999 | |
parent | shellcheck fixes (diff) | |
download | config-links-4b98ccb17c894e008453f98ba8b41c6600a4b0a9.tar.gz config-links-4b98ccb17c894e008453f98ba8b41c6600a4b0a9.zip |
overwrite existing files in link_all_entries
This was a regression, WTF was I thinking.
Diffstat (limited to '')
-rw-r--r-- | src/db.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -205,8 +205,8 @@ link_all_entries() { if symlink_points_to_shared_file "$entry"; then dump ' ... up-to-date' else - dump " ... not a symlink or doesn't point to the shared file" - remove_entry "$entry" + dump " ... not a symlink or doesn't point to the shared file, adding a symlink" + is_dry_run || link_entry "$entry" fi else dump ' ... adding a symlink' |