summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoritohy <itohy@pkgsrc.org>1999-11-26 06:30:10 +0000
committeritohy <itohy@pkgsrc.org>1999-11-26 06:30:10 +0000
commit15a1163fc3c8f0ce0939773c9e7b27808722342d (patch)
tree5624fc3bd0bdce6af3c5bed98a0310255f97f1a9 /www
parentb3a20c16133d1c23d03bf5dde7bfdcc0fab7b0ae (diff)
downloadpkgsrc-15a1163fc3c8f0ce0939773c9e7b27808722342d.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 \