We need to move Tor Browser from the old location(s) to the new ones. Otherwise existing users who upgrade would be notified "Tor Browser not installed" and asked "want to install Tor Browser?".
mv /home/user/tor-browser_en-US /home/user/.tb/tor-browser
mv /home/user/.tb/tor-browser_en-US /home/user/.tb/tor-browser
Various things to adhere:
- check if old folder even exists
- check if new folder does not already exist
- preventing permission issues, doing it as user, not root
- perhaps leave a symlink from the old location to preven confusion?
This is specifically difficult in Qubes. It cannot be done from a Debian mainstainer script, because TemplateBasedVM's home folder is unaffected by what the TemplateVM changes in home.
Do we let existing users bite the bullet, let them manually move Tor Browser or download a new one or invent some mechanism, that during boot up, doing this migration task?
Btw, for now, this should be the last issue before releasing Whonix 12 as stable.