Link from most recent database directory first
Created by: ederag
Otherwise it might pick an unused hamster-applet/hamster.db
(for some reasons it was not hard linked on my system
Edit: that was due to file synchronization by unison)
instead of the more recent hamster-time-tracker/hamster.db
.
The change to hamster-time-tracker has never been released,
but it is few months old (9f345e5e),
so it is nicer to early adopters to handle that correctly as well.
Check for hard links (the first numbers should be identical):
ls -il ~/.local/share/hamster*/hamster.db
1105569312 -rw-rw-r-- 3 ederag users 1589248 7 déc. 09:50 /home/ederag/.local/share/hamster-applet/hamster.db
1105569312 -rw-rw-r-- 3 ederag users 1589248 7 déc. 09:50 /home/ederag/.local/share/hamster-time-tracker/hamster.db
1105569312 -rw-rw-r-- 3 ederag users 1589248 7 déc. 09:50 /home/ederag/.local/share/hamster/hamster.db
Keeping old dirs may be useful to compare behaviors between versions.