Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall Don't overwrite changed autofs config f...



details:   https://anonhg.NetBSD.org/src/rev/4418f08ee7ba
branches:  trunk
changeset: 1021594:4418f08ee7ba
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Mon Jun 07 05:29:22 2021 +0000

description:
Don't overwrite changed autofs config files.

diffstat:

 usr.sbin/postinstall/postinstall.in |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 0c7b46c319da -r 4418f08ee7ba usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Mon Jun 07 03:04:50 2021 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Mon Jun 07 05:29:22 2021 +0000
@@ -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 @@
                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}



Home | Main Index | Thread Index | Old Index