Rework the code for detecting package reinstallation. (dm)


git-svn-id: svn://mielke.cc/main/brltty@7106 91a5dbb7-01b9-0310-9b5f-b28072856b6e