From a5c7cf36dcb4f85a88734b17114448d8a466d84b Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 1 Oct 2001 21:15:11 +0000 Subject: Allow customizing the message for _SU_TARGET by substituting for "$action", where action can be "install", "package", "create user for", etc., instead of blindly always saying "install". Define "action" before calling ${_SU_TARGET} whereever it is used. --- mail/majordomo/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/majordomo/Makefile') diff --git a/mail/majordomo/Makefile b/mail/majordomo/Makefile index 66a7f8c10bf..6a3f3396335 100644 --- a/mail/majordomo/Makefile +++ b/mail/majordomo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/09/12 11:05:12 agc Exp $ +# $NetBSD: Makefile,v 1.16 2001/10/01 21:15:12 jlam Exp $ DISTNAME= majordomo-1.94.5 CATEGORIES= mail @@ -64,6 +64,7 @@ require-uid: if ! ${CHGRP} ${MAJORDOMO_GROUP} \ "/tmp/grouptestmajordomo1.$$" >/dev/null 2>&1; then \ realtarget="root-require-uid"; \ + action="create user for"; \ ${_SU_TARGET}; \ fi; \ ${RM} -f "/tmp/grouptestmajordomo1.$$"; \ -- cgit v1.2.3