diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
commit | 96fe98e1c6bc0301781b0dd7dbfeef3e3f137f43 (patch) | |
tree | 7650cfe102643b74d6ad1d3efe1771281b5e66f0 /www/firefox15/files/moz_pis_S50cleanhome | |
parent | 503c7f7052756548d3712a6b0f3fb6d32ddbb8e9 (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_5_0'.release/5.5.0
Notes
Notes:
svn path=/head/; revision=158034
svn path=/tags/RELEASE_5_5_0/; revision=158035; tag=release/5.5.0
Diffstat (limited to 'www/firefox15/files/moz_pis_S50cleanhome')
-rw-r--r-- | www/firefox15/files/moz_pis_S50cleanhome | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/www/firefox15/files/moz_pis_S50cleanhome b/www/firefox15/files/moz_pis_S50cleanhome deleted file mode 100644 index 3de5565e39f2..000000000000 --- a/www/firefox15/files/moz_pis_S50cleanhome +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# - -# S50cleanhome -# a script to clean up users' Mozilla home directories to make upgrading -# less painful. - -# We run in our own subshell - -# First, verify protocol -[ "$1" != "start" ] && exit 1 -[ -z "${MOZ_PIS_API}" -o ${MOZ_PIS_API} -ne 2 ] && exit 1 -[ -z "${MOZ_PIS_MOZBINDIR}" -o ! -d "${MOZ_PIS_MOZBINDIR}" ] && exit 1 -[ -z "${HOME}" -o ! -d "${HOME}" ] && exit 1 -[ -z "${MOZ_PIS_USER_DIR}" -o ! -d "${HOME}/${MOZ_PIS_USER_DIR}" ] && exit 1 - -# Try to cleanup ${HOME}/${MOZ_PIS_USER_DIR} - -if [ -f "${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" ]; then - sed -e '/Path=/! d' -e "s,Path=,${HOME}/${MOZ_PIS_USER_DIR}/," \ - "${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" \ - | while read dir - do - [ ! -d "${dir}" ] && continue - # Debian does this for new builds - # rm -f "${dir}/XUL.mfasl" - # force a rebuild of compreg.dat and xpti.dat for new installations - [ "${dir}/compreg.dat" -ot "${MOZ_PIS_MOZBINDIR}/components.ini" ] && - rm -f "${dir}/compatibility.ini" "${dir}/XUL.mfasl" - done -fi |