2006-06-15 22:40:15 +02:00
|
|
|
# $NetBSD: INSTALL,v 1.2 2006/06/15 20:40:16 jlam Exp $
|
2005-12-17 19:41:43 +01:00
|
|
|
|
|
|
|
CUPS_DATADIR="@CUPS_DATADIR@"
|
|
|
|
|
|
|
|
case ${STAGE} in
|
|
|
|
POST-INSTALL)
|
|
|
|
${TEST} ! -d ${CUPS_DATADIR} ||
|
|
|
|
${TEST} -d ${CUPS_DATADIR}/foomatic-ppds ||
|
|
|
|
{ ${ECHO} "Adding Foomatic PPDs to CUPS PPD database.";
|
|
|
|
${LN} -fs ${PKG_PREFIX}/share/foomatic/ppd \
|
|
|
|
${CUPS_DATADIR}/foomatic-ppds; }
|
|
|
|
;;
|
|
|
|
esac
|