I've combined your patch with my modification.
Instead of
renaming based on the existence of binaries, I introduced a variable
TDE_REBRAND.
What do you think about it?
Looks fine to me. Go ahead and push. :)
I was concerned about using tde-config because of the original bugs that created profile
directories in the system root or in the user's $HOME. Looking at the 3.5.13.1 change
log indicates the related patches were backported to 3.5.13.1 in kde-config, so I think
we're safe.
If somebody is using 3.5.10 - 3.5.13, the original kde-config will not have been patched,
but with the migratekde3 patching these config file renaming snippets will not execute
anyway. Further, previously I added a snippet to use konqueror to determine the version
rather than kde-config for those older Trinity versions.
I still have my 3.5.10 profiles, which I use to test migratekde3. I don't have 3.5.11
-> 3.5.13 profiles. Hopefully before R14 is released others with those previous Trinity
versions will have tested migratekde3.
We have to be careful to keep migratekde3 and r14-xdg-update unique. They serve two
different purposes and we don't want overlap. For example, my recent patch to support
Quanta Plus plugins.rc in r14-xdg-update. That involved renaming but the renaming occurred
in the R14 development.
Darrell