diff options
author | jlam <jlam> | 2006-06-15 20:40:15 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-06-15 20:40:15 +0000 |
commit | 98574fa1445ba3682dffba92eee4328eb1772082 (patch) | |
tree | fdcc07230f85f6fc9861a7659692fa83b1801fd4 /print/foomatic-filters-cups/DEINSTALL | |
parent | 0dcd925361497ee9fde28008df357e6513c65adb (diff) | |
download | pkgsrc-98574fa1445ba3682dffba92eee4328eb1772082.tar.gz |
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.
Diffstat (limited to 'print/foomatic-filters-cups/DEINSTALL')
-rw-r--r-- | print/foomatic-filters-cups/DEINSTALL | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/print/foomatic-filters-cups/DEINSTALL b/print/foomatic-filters-cups/DEINSTALL new file mode 100644 index 00000000000..b7b4bf6f3a6 --- /dev/null +++ b/print/foomatic-filters-cups/DEINSTALL @@ -0,0 +1,10 @@ +# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $ + +CUPS_FILTERDIR="@CUPS_FILTERDIR@" + +case ${STAGE} in +DEINSTALL) + ${ECHO} "Removing foomatic-rip filter from CUPS." + ${RM} -f ${CUPS_FILTERDIR}/foomatic-rip + ;; +esac |