diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-28 22:33:52 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-28 22:33:52 +0800 |
commit | 9f375d2028f069f60efec89a6103d30c1346f99b (patch) | |
tree | aa88f4f86c4a79e0e8675b938054a3824edff64b /www/seamonkey/files/moz_pis_S50cleanhome | |
parent | 70be714c619aa0c8d6189e0d14385bd55ccaf1b0 (diff) | |
download | marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar.gz marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar.bz2 marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar.lz marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar.xz marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.tar.zst marcuscom-ports-9f375d2028f069f60efec89a6103d30c1346f99b.zip |
Now in ports
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8441 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/seamonkey/files/moz_pis_S50cleanhome')
-rw-r--r-- | www/seamonkey/files/moz_pis_S50cleanhome | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/www/seamonkey/files/moz_pis_S50cleanhome b/www/seamonkey/files/moz_pis_S50cleanhome deleted file mode 100644 index 3de5565e3..000000000 --- a/www/seamonkey/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 |