summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-23 15:01:08 +0000
committerjlam <jlam>2002-01-23 15:01:08 +0000
commitd3f4107531a6772ef04d05060ce52e2a8a7c4f90 (patch)
treee35b19bbf6e70dbc12174c5f96f189650758f6b6 /mk
parent8e4cf0155db03b5a868139234d82d6dcc06c6087 (diff)
downloadpkgsrc-d3f4107531a6772ef04d05060ce52e2a8a7c4f90.tar.gz
When copying config files, if the destination file already exists, then
tell user where the example file is located. Patch provided by Stoned Elipot <seb@netbsd.org> in private e-mail.
Diffstat (limited to 'mk')
-rw-r--r--mk/install/install5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/install/install b/mk/install/install
index 21dc9dcb6ad..dab450e2090 100644
--- a/mk/install/install
+++ b/mk/install/install
@@ -1,6 +1,6 @@
# start of install
#
-# $NetBSD: install,v 1.6 2001/12/04 21:05:06 seb Exp $
+# $NetBSD: install,v 1.7 2002/01/23 15:01:08 jlam Exp $
case ${STAGE} in
PRE-INSTALL)
@@ -120,7 +120,8 @@ POST-INSTALL)
if [ -e "${file}" ]
then
- ${ECHO} " ${file} already exists"
+ ${ECHO} " ${file} already exists, example file is"
+ ${ECHO} " ${samplefile}"
else
if [ -e "${samplefile}" ]
then