Source-Changes-HG archive

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

[src/netbsd-9]: src/usr.sbin/postinstall Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/de6724dfe784
branches:  netbsd-9
changeset: 935651:de6724dfe784
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 07 20:02:27 2020 +0000

description:
Pull up following revision(s) (requested by simonb in ticket #989):

        usr.sbin/postinstall/postinstall.in: revision 1.31

Sort missing IDs (users and groups) by the numeric ID.

diffstat:

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

diffs (20 lines):

diff -r 922785f7c184 -r de6724dfe784 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Tue Jul 07 19:50:12 2020 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Tue Jul 07 20:02:27 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.5.2.4 2020/02/27 18:53:04 martin Exp $
+# $NetBSD: postinstall.in,v 1.5.2.5 2020/07/07 20:02:27 martin Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -287,7 +287,7 @@
                do
                        ${GREP} -E "^${1}:" ${_srcfile}
                        shift 2
-               done
+               done | sort -t: -k3n
                msg "and adjust if necessary."
                return 1
        fi



Home | Main Index | Thread Index | Old Index