diff options
| author | Teddy Wing | 2017-10-04 23:04:55 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-10-04 23:04:55 +0200 |
| commit | 607b3d30cbeb6b046b54c3d266b32331212392e8 (patch) | |
| tree | 919d9dece393e87498fa4f28e47c25d45166a35d /CHANGELOG | |
| parent | c66735aced2373be9902d35c7f45267c8257ba21 (diff) | |
| download | qcd-607b3d30cbeb6b046b54c3d266b32331212392e8.tar.bz2 | |
qcd: Allow database file to be symlinked
The `sed -i` calls in the "change" and "remove" commands will overwrite
a symlinked database file with a real file, destroying the symlink.
To prevent this and allow the database file to be symlinked (to, say,
allow it to be tracked in a dotfiles repo), use a redirection technique
as described here:
https://www.cyberciti.biz/faq/howto-prevent-sed-i-from-destroying-symlinks-on-linux-unix/
Using this alternate method, we preserve symlinks, and even create a
backup file as before.
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions
