diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-13 01:01:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-13 01:01:11 +0000 |
commit | b6c15f1bdd4af09b3ed5816530968f4f630c93a0 (patch) | |
tree | 024b776f2cb905b2b37f2fc301a4aa93d7aafd7c /print | |
parent | 3545af642d270a27f8b0b654206ec522ceb4c389 (diff) | |
download | pkgsrc-b6c15f1bdd4af09b3ed5816530968f4f630c93a0.tar.gz |
Be more explicit about where the example config files are copied from
during installation.
Diffstat (limited to 'print')
-rw-r--r-- | print/cups/pkg/INSTALL | 8 |
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} |