From 5ef4d50aabda20c4bf475aded27aabb3cda552a9 Mon Sep 17 00:00:00 2001 From: David Rhodus Date: Tue, 26 Oct 2004 16:14:55 +0000 Subject: [PATCH] Check that the authpf user and group are installed before starting the installworld process. --- Makefile.inc1 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index e7a3716331..842e6db045 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1,6 +1,6 @@ # # $FreeBSD: src/Makefile.inc1,v 1.141.2.62 2003/04/06 19:54:00 dwmalone Exp $ -# $DragonFly: src/Makefile.inc1,v 1.40 2004/10/20 23:02:59 dillon Exp $ +# $DragonFly: src/Makefile.inc1,v 1.41 2004/10/26 16:14:55 drhodus Exp $ # # Make command line options: # -DMAKE_KERBEROS5 to build Kerberos5 @@ -412,7 +412,17 @@ installcheck: false; \ fi .endif - +# +#Check that authpf user and group is installed +# + @if ! `id -u authpf > /dev/null`; then \ + echo "ERROR: Required authpf user is missing, see /usr/src/UPDATING."; \ + false; \ + fi + @if ! `id -g authpf > /dev/null`; then \ + echo "ERROR: Required authpf group is missing, see /usr/src/UPDATING."; \ + false; \ + fi # # distributeworld # -- 2.41.0