summaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-13 01:01:11 +0000
committerjlam <jlam>2000-07-13 01:01:11 +0000
commit825eea59a7409a499400b7e935bff5f6ab95a4b3 (patch)
tree024b776f2cb905b2b37f2fc301a4aa93d7aafd7c /print/cups
parent734b26ede877e1fb861551b8191ad0b11a4bf0af (diff)
downloadpkgsrc-825eea59a7409a499400b7e935bff5f6ab95a4b3.tar.gz
Be more explicit about where the example config files are copied from
during installation.
Diffstat (limited to 'print/cups')
-rw-r--r--print/cups/pkg/INSTALL8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/cups/pkg/INSTALL b/print/cups/pkg/INSTALL
index 563d13565ce..ded966fdfa0 100644
--- a/print/cups/pkg/INSTALL
+++ b/print/cups/pkg/INSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.1 2000/07/12 20:09:40 jlam Exp $
+# $NetBSD: INSTALL,v 1.2 2000/07/13 01:01:11 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -29,9 +29,11 @@ POST-INSTALL)
mime.types \
printers.conf
do
- if [ ! -f ${SERVERROOT}/${file} ]
+ if [ -f ${SERVERROOT}/${file} ]
then
- echo " ${file}"
+ echo " ${SERVERROOT}/${file} already exists"
+ else
+ echo " ${PKG_PREFIX}/share/examples/cups/${file} --> ${SERVERROOT}/${file}"
cp ${PKG_PREFIX}/share/examples/cups/${file} \
${SERVERROOT}/${file}
chmod 644 ${SERVERROOT}/${file}