Module Name: src
Committed By: simonb
Date: Tue Jul 7 12:01:21 UTC 2020
Modified Files:
src/usr.sbin/postinstall: postinstall.in
Log Message:
Sort missing IDs (users and groups) by the numeric ID.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 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.30 src/usr.sbin/postinstall/postinstall.in:1.31
--- src/usr.sbin/postinstall/postinstall.in:1.30 Mon Jun 29 23:04:57 2020
+++ src/usr.sbin/postinstall/postinstall.in Tue Jul 7 12:01:21 2020
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall.in,v 1.30 2020/06/29 23:04:57 riastradh Exp $
+# $NetBSD: postinstall.in,v 1.31 2020/07/07 12:01:21 simonb 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