From: Thibault Godouet Date: Sat, 18 Nov 2000 14:52:47 +0000 (+0000) Subject: added test for existence of user and group X-Git-Tag: ver2_9_4~493 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=138b0c7edbb4bfb2b20c5f87b221e3573e39e2bd;p=thirdparty%2Ffcron.git added test for existence of user and group --- diff --git a/Makefile.in b/Makefile.in index 255848c..7c3861a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -4,7 +4,7 @@ # @configure_input@ -# $Id: Makefile.in,v 1.47 2000-11-14 21:39:07 thib Exp $ +# $Id: Makefile.in,v 1.48 2000-11-18 14:52:47 thib Exp $ # The following should not be edited manually (use configure options) # If you must do it, BEWARE : some of the following is also defined @@ -86,6 +86,8 @@ allow.o: allow.c $(HEADERS) install: all + script/user-group $(USERNAME) $(GROUPNAME) + $(INSTALL) -g root -o root -m 755 -d $(DESTSBIN) $(INSTALL) -g root -o root -m 755 -d $(DESTBIN) $(INSTALL) -g root -o root -m 755 -d $(ETC) @@ -111,7 +113,7 @@ install: all if test -f $(ETC)/fcron.deny; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi if test -f $(ETC)/fcron.allow; then chown $(USERNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi - (cd script ; ./sysVinit-install "$(INSTALL)" $(DESTSBIN) $(DEBUG) $(FCRONTABS)) + script/sysVinit-install "$(INSTALL)" $(DESTSBIN) $(DEBUG) $(FCRONTABS) uninstall: rm -f $(DESTSBIN)/fcron