pkgsrc/print/foomatic-ppds-cups/DEINSTALL
jlam 827643d4bb Split out deinstall portions of INSTALL scripts into DEINSTALL scripts.
This avoids the need for a confusing line of the form:

	DEINSTALL_TEMPLATE+=	path/to/INSTALL

in the package Makefile, and actually removes the need to specify it
altogether since by convention, the existence of the DEINSTALL script
is enough to add it to DEINSTALL_TEMPLATE.
2006-06-15 20:40:15 +00:00

10 lines
225 B
Text

# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $
CUPS_DATADIR="@CUPS_DATADIR@"
case ${STAGE} in
DEINSTALL)
${ECHO} "Removing Foomatic PPDs from CUPS PPD database."
${RM} -f ${CUPS_DATADIR}/foomatic-ppds
;;
esac