Module Name:    src
Committed By:   mlelstv
Date:           Mon Jun  7 05:29:22 UTC 2021

Modified Files:
        src/usr.sbin/postinstall: postinstall.in

Log Message:
Don't overwrite changed autofs config files.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.38 src/usr.sbin/postinstall/postinstall.in:1.39
--- src/usr.sbin/postinstall/postinstall.in:1.38	Sun Apr 25 06:21:37 2021
+++ src/usr.sbin/postinstall/postinstall.in	Mon Jun  7 05:29:22 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.38 2021/04/25 06:21:37 lukem Exp $
+# $NetBSD: postinstall.in,v 1.39 2021/06/07 05:29:22 mlelstv Exp $
 #
 # Copyright (c) 2002-2021 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -902,12 +902,12 @@ special_null
 		mkdir -p "${DEST_DIR}/etc/autofs"
 	fi
 	failed=$(( ${failed} + $? ))
-	populate_dir "$op" false "${SRC_DIR}/etc" \
+	populate_dir "$op" true "${SRC_DIR}/etc" \
 	    "${DEST_DIR}/etc" \
 	    644 \
 	    auto_master
 	failed=$(( ${failed} + $? ))
-	populate_dir "$op" false "${SRC_DIR}/etc/autofs" \
+	populate_dir "$op" true "${SRC_DIR}/etc/autofs" \
 	    "${DEST_DIR}/etc/autofs" \
 	    644 \
 	    ${autofs_files}

Reply via email to