diff options
author | jlam <jlam@pkgsrc.org> | 2000-12-15 21:57:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-12-15 21:57:38 +0000 |
commit | 12e8b340a34430d08c159f3285525fb009672dde (patch) | |
tree | 010d8a28b19ac0bf37717f950abbf9613a398a7f /print | |
parent | 31c50959a0e2d48c50184a5f2547c8fa7c9f68c8 (diff) | |
download | pkgsrc-12e8b340a34430d08c159f3285525fb009672dde.tar.gz |
Only some of those config files are supposed to be editted by the user,
so differentiate them from the CUPS-generated ones.
Diffstat (limited to 'print')
-rw-r--r-- | print/cups/pkg/DEINSTALL | 9 | ||||
-rw-r--r-- | print/cups/pkg/INSTALL | 8 |
2 files changed, 10 insertions, 7 deletions
diff --git a/print/cups/pkg/DEINSTALL b/print/cups/pkg/DEINSTALL index 5af4ba79b48..c46e335647b 100644 --- a/print/cups/pkg/DEINSTALL +++ b/print/cups/pkg/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.4 2000/12/09 22:18:24 jlam Exp $ +# $NetBSD: DEINSTALL,v 1.5 2000/12/15 21:57:38 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -16,14 +16,15 @@ LOGDIR=/var/log/cups REQUESTDIR=/var/spool/cups SAMPLECONFDIR=${PKG_PREFIX}/share/examples/cups CONFDIR=/etc/cups -CONFFILES="classes.conf client.conf cupsd.conf mime.convs mime.types printers.conf" +CONFFILES="client.conf cupsd.conf" +NONCONFFILES="classes.conf mime.convs mime.types printers.conf" case ${STAGE} in DEINSTALL) # Remove configuration files if they don't differ from the default # config file. # - for file in ${CONFFILES} + for file in ${CONFFILES} ${NONCONFFILES} do FILE=${CONFDIR}/${file} SAMPLEFILE=${SAMPLECONFDIR}/${file} @@ -36,7 +37,7 @@ DEINSTALL) POST-DEINSTALL) modified_files='' - for file in ${CONFFILES} + for file in ${CONFFILES} ${NONCONFFILES} do FILE=${CONFDIR}/${file} if [ -f ${FILE} ] diff --git a/print/cups/pkg/INSTALL b/print/cups/pkg/INSTALL index 9ea9a0bf91e..0663a34e12b 100644 --- a/print/cups/pkg/INSTALL +++ b/print/cups/pkg/INSTALL @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: INSTALL,v 1.6 2000/12/12 16:03:14 jlam Exp $ +# $NetBSD: INSTALL,v 1.7 2000/12/15 21:57:38 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -24,7 +24,8 @@ LOGDIR=/var/log/cups REQUESTDIR=/var/spool/cups SAMPLECONFDIR=${PKG_PREFIX}/share/examples/cups CONFDIR=/etc/cups -CONFFILES="classes.conf client.conf cupsd.conf mime.convs mime.types printers.conf" +CONFFILES="client.conf cupsd.conf" +NONCONFFILES="classes.conf mime.convs mime.types printers.conf" case ${STAGE} in PRE-INSTALL) @@ -70,7 +71,7 @@ POST-INSTALL) ${CHOWN} ${USER}:${GROUP} ${REQUESTDIR}/tmp echo "Installing configuration files:" - for file in ${CONFFILES} + for file in ${CONFFILES} ${NONCONFFILES} do FILE=${CONFDIR}/${file} SAMPLEFILE=${SAMPLECONFDIR}/${file} @@ -84,6 +85,7 @@ POST-INSTALL) fi done ${CAT} << EOF + =========================================================================== Some files you might need to customize include the following: |