From 558151a7e60449fecbcd0c40d4665b3f0a7dd9c0 Mon Sep 17 00:00:00 2001 From: SADA Kenji Date: Mon, 5 Jul 1999 18:59:58 +0000 Subject: Unified the writing of working directories. The `test .. || ..' style could abort the make process, so changed to be using `if .. then' style. --- news/leafnode+/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'news/leafnode+/Makefile') diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile index 047341fe2813..27a5d4a58c7c 100644 --- a/news/leafnode+/Makefile +++ b/news/leafnode+/Makefile @@ -3,7 +3,7 @@ # Date created: 19 November 1998 # Whom: Tom Hukins # -# $Id: Makefile,v 1.6 1999/04/22 00:17:13 scrappy Exp $ +# $Id: Makefile,v 1.7 1999/07/04 19:40:32 sada Exp $ # DISTNAME= leafnode+-2.6 @@ -47,10 +47,11 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+ .endfor .endif - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL post-install: - @test -d /var/spool/news -a -d ${PREFIX}/lib/leafnode || \ - ${CAT} ${PKGDIR}/MESSAGE + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @if test \( ! -d ${LEAFSPOOLDIR} \) -o \( ! -d ${LEAFLIBDIR} \) ; then \ + ${CAT} ${PKGDIR}/MESSAGE; \ + fi .include -- cgit v1.2.3