summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoritohy <itohy>1999-11-26 06:30:10 +0000
committeritohy <itohy>1999-11-26 06:30:10 +0000
commit4de05f2bd1a16f0548f8d4928a66c7742130b316 (patch)
tree5624fc3bd0bdce6af3c5bed98a0310255f97f1a9 /www
parentd7963524bff9b88437ec80f4328aa3d99bccad3a (diff)
downloadpkgsrc-4de05f2bd1a16f0548f8d4928a66c7742130b316.tar.gz
Hack pre-install to prevent installation failure
under certain conditions (cache dir exists, but no http dir).
Diffstat (limited to 'www')
-rw-r--r--www/wwwoffle/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index cc833b13b73..d2690fa895f 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/11/26 06:09:00 itohy Exp $
+# $NetBSD: Makefile,v 1.11 1999/11/26 06:30:10 itohy Exp $
DISTNAME= wwwoffle-2.5b
CATEGORIES= www
@@ -41,6 +41,7 @@ post-build:
pre-install:
${MKDIR} ${PREFIX}/etc/wwwoffle
+ if [ -d /var/wwwoffle ]; then ${MKDIR} /var/wwwoffle/http; fi
post-install:
if [ -f ${PREFIX}/etc/wwwoffle/wwwoffle.conf.install ]; then \