1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/www/mozilla-devel/pkg-deinstall.in
Joe Marcus Clarke b6d999ba6e * Add a pkg-deinstall script to remove left-over dynamically generated
files [1]
* Move REINPLACE_CMD up from do-install to pre-install so no .bak files
  are left behind after pkg_delete [2]

PR:		71313 [1]
		73054 [2]
Submitted by:	Michael Johnson <ahze@ahze.net> [2]
2004-10-24 02:35:07 +00:00

23 lines
385 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Date created: Mon Nov 29, 2003
# Whom: Thierry Thomas (<thierry@pompo.net>)
# Fix the chrome registry.
umask 022
PATH=/bin:/usr/bin
[ "x$1" = "x" ] && exit 1
[ "x$2" != "xDEINSTALL" ] && exit 0
MOZDIR=%%MOZDIR%%
rm -rf ${MOZDIR}/chrome/overlayinfo
rm -f ${MOZDIR}/chrome/*.rdf
rm -f ${MOZDIR}/component.reg
rm -f ${MOZDIR}/components/*.dat
exit 0