head	1.3;
access;
symbols
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	old_RELEASE_8_0_0:1.1
	old_RELEASE_7_2_0:1.1
	old_RELEASE_7_1_0:1.1
	old_RELEASE_6_4_0:1.1
	old_RELEASE_5_EOL:1.1
	old_RELEASE_7_0_0:1.1
	old_RELEASE_6_3_0:1.1
	old_PRE_XORG_7:1.1
	old_RELEASE_4_EOL:1.1
	old_RELEASE_6_2_0:1.1
	old_RELEASE_6_1_0:1.1
	old_RELEASE_5_5_0:1.1
	old_old_RELEASE_6_0_0:1.1
	old_old_RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2011.10.19.16.00.43;	author beat;	state dead;
branches;
next	1.2;

1.2
date	2009.12.14.12.12.24;	author beat;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.28.01.43.57;	author ahze;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Remove www/seamonkey2 and www/seamonkey2-i18n: Upstream support dropped
  and multiple vulnerabilities.
@
text
@#!/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
@


1.2
log
@- Forced commit to document that www/seamonkey2 was repocopied from
  www/seamonkey.

PR:		141434
Repocopy by:	marcus
@
text
@@


1.1
log
@- Update to 1.8b1
  (Release notes: http://www.mozilla.org/releases/mozilla1.8b1/ )
- Add new launch script [1]
- Sanitize CFLAGS [1]
- Add Mozilla Plugable Init Scripts (PIS) to handle upgrades with ease [1]

PR:		ports/77744 [1]
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es> [1]
@
text
@@

