Module Name:    src
Committed By:   martin
Date:           Tue Jul  7 20:02:27 UTC 2020

Modified Files:
        src/usr.sbin/postinstall [netbsd-9]: postinstall.in

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5.2.4 -r1.5.2.5 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.5.2.4 src/usr.sbin/postinstall/postinstall.in:1.5.2.5
--- src/usr.sbin/postinstall/postinstall.in:1.5.2.4	Thu Feb 27 18:53:04 2020
+++ src/usr.sbin/postinstall/postinstall.in	Tue Jul  7 20:02:27 2020
@@ -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 @@ check_ids()
 		do
 			${GREP} -E "^${1}:" ${_srcfile}
 			shift 2
-		done
+		done | sort -t: -k3n
 		msg "and adjust if necessary."
 		return 1
 	fi

Reply via email to