1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/mozilla/pkg-deinstall.in
Joe Marcus Clarke b322f89146 Update to 1.7.2 to fix a few security vulnerabilities, and add a pkg-deinstall
script to clean up left over automatically-generated files.
2004-08-08 07:07:35 +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