post_install() { echo '>>> !!!MANUAL UPGRADE REQUIRED FOR EXISTING PROFILES!!!' echo '>>> =================================================================================' echo '>>> The latest version of Icedove-UXP now uses its own profile directory.' echo '>>> In order to use your existing mail profile, please rename "~/.mozilla/thunderbird"' echo '>>> to "~/.hyperbola/icedove-uxp". e.g.:' echo '>>> ---------------------------------------------------------------------------------' echo '>>> mkdir -p ~/.hyperbola/icedove-uxp' echo '>>> cp -a ~/.mozilla/thunderbird/* ~/.hyperbola/icedove-uxp' echo '>>> ---------------------------------------------------------------------------------' echo '>>> Once you have confirmed your profile is working in all installed application(s)' echo '>>> you may remove the ~/.mozilla directory.' } post_upgrade() { if (( $(vercmp $2 52.9.20190826-1) < 0 )); then echo '>>> !!!MANUAL UPGRADE REQUIRED FOR EXISTING PROFILES!!!' echo '>>> =================================================================================' echo '>>> The latest version of Icedove-UXP now uses its own profile directory.' echo '>>> In order to use your existing mail profile, please rename "~/.mozilla/thunderbird"' echo '>>> to "~/.hyperbola/icedove-uxp". e.g.:' echo '>>> ---------------------------------------------------------------------------------' echo '>>> mkdir -p ~/.hyperbola/icedove-uxp' echo '>>> cp -a ~/.mozilla/thunderbird/* ~/.hyperbola/icedove-uxp' echo '>>> ---------------------------------------------------------------------------------' echo '>>> Once you have confirmed your profile is working in all installed application(s)' echo '>>> you may remove the ~/.mozilla directory.' fi }