fix install script
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 22 Jun 1985 08:33:45 +0000 (00:33 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 22 Jun 1985 08:33:45 +0000 (00:33 -0800)
SCCS-vsn: usr.bin/at/at/Makefile 5.2

usr/src/usr.bin/at/at/Makefile

index 43ee496..f47b44b 100644 (file)
@@ -3,7 +3,7 @@
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)Makefile    5.1 (Berkeley) %G%
+#      @(#)Makefile    5.2 (Berkeley) %G%
 #
 #       Makefile for at, atq, atrm, and atrun
 #
 #
 #       Makefile for at, atq, atrm, and atrun
 #
@@ -35,6 +35,7 @@ install: all
        chown daemon $(SPOOLDIRS)
        chgrp daemon $(SPOOLDIRS)
        chmod 755    $(SPOOLDIRS)
        chown daemon $(SPOOLDIRS)
        chgrp daemon $(SPOOLDIRS)
        chmod 755    $(SPOOLDIRS)
+       for i in $(SPOOLFILES); do if [ ! -f $$i ]; then echo 0 > $$i; fi; done
        chown daemon $(SPOOLFILES)
        chgrp daemon $(SPOOLFILES)
        install -s atrun $(ATRUNDIR)
        chown daemon $(SPOOLFILES)
        chgrp daemon $(SPOOLFILES)
        install -s atrun $(ATRUNDIR)