summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/install/files4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/files b/mk/install/files
index 0571708aee8..f9cd46b404a 100644
--- a/mk/install/files
+++ b/mk/install/files
@@ -1,6 +1,6 @@
#!@SH@
#
-# $NetBSD: files,v 1.2 2005/02/14 16:30:35 tv Exp $
+# $NetBSD: files,v 1.3 2005/02/14 16:31:41 tv Exp $
#
# +FILES - reference-counted configuration file management script
#
@@ -162,7 +162,7 @@ REMOVE)
"")
if ${TEST} -f "$preexist"; then
:
- elif ${TEST} -f "$file" -a -f "$f_eg" -a \
+ elif ${TEST} -f "$file" -a -f "$f_eg" && \
${CMP} -s "$file" "$f_eg"; then
${RM} -f "$file"
fi