From 1269c180411557bed16a1b064596656bb7ae721e Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 23 Jan 2002 15:01:08 +0000 Subject: When copying config files, if the destination file already exists, then tell user where the example file is located. Patch provided by Stoned Elipot in private e-mail. --- mk/install/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk') 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 -- cgit v1.2.3