initial import
This commit is contained in:
29
iceweasel-uxp/iceweasel-uxp.install
Normal file
29
iceweasel-uxp/iceweasel-uxp.install
Normal file
@@ -0,0 +1,29 @@
|
||||
post_install() {
|
||||
echo '>>> !!!MANUAL UPGRADE REQUIRED FOR EXISTING PROFILES!!!'
|
||||
echo '>>> ================================================================================='
|
||||
echo '>>> The latest version of Iceweasel-UXP now uses its own profile directory.'
|
||||
echo '>>> In order to use your existing browser profile, please rename "~/.mozilla/firefox"'
|
||||
echo '>>> to "~/.hyperbola/iceweasel-uxp". e.g.:'
|
||||
echo '>>> ---------------------------------------------------------------------------------'
|
||||
echo '>>> mkdir -p ~/.hyperbola/iceweasel-uxp'
|
||||
echo '>>> cp -a ~/.mozilla/firefox/* ~/.hyperbola/iceweasel-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 Iceweasel-UXP now uses its own profile directory.'
|
||||
echo '>>> In order to use your existing browser profile, please rename "~/.mozilla/firefox"'
|
||||
echo '>>> to "~/.hyperbola/iceweasel-uxp". e.g.:'
|
||||
echo '>>> ---------------------------------------------------------------------------------'
|
||||
echo '>>> mkdir -p ~/.hyperbola/iceweasel-uxp'
|
||||
echo '>>> cp -a ~/.mozilla/firefox/* ~/.hyperbola/iceweasel-uxp'
|
||||
echo '>>> ---------------------------------------------------------------------------------'
|
||||
echo '>>> Once you have confirmed your profile is working in all installed application(s)'
|
||||
echo '>>> you may remove the ~/.mozilla directory.'
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user