b6d999ba6e
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]
22 lines
385 B
Bash
22 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
|