summaryrefslogtreecommitdiff
path: root/www/wwwoffle/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2000-08-07 08:27:37 +0000
committerfredb <fredb>2000-08-07 08:27:37 +0000
commitd98a6bcaf507bfbe58a9da36feb5eb889c4de4c6 (patch)
treeb7baa703a70ba899d2766177834fae98039e2da6 /www/wwwoffle/Makefile
parent9a61e5a049ea0c9845b9770f1d0a28f47cbb729b (diff)
downloadpkgsrc-d98a6bcaf507bfbe58a9da36feb5eb889c4de4c6.tar.gz
Delete /var/wwwoffle/html.old, so that an install following an aborted
install will work. There's no point in saving "html.old" -- a successful update will not even create that directory.
Diffstat (limited to 'www/wwwoffle/Makefile')
-rw-r--r--www/wwwoffle/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index db855b46d81..50b0767506d 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2000/06/06 13:22:28 itojun Exp $
+# $NetBSD: Makefile,v 1.19 2000/08/07 08:27:37 fredb Exp $
DISTNAME= wwwoffle-2.5e
CATEGORIES= www
@@ -52,7 +52,10 @@ post-build:
pre-install:
${MKDIR} ${PREFIX}/etc/wwwoffle
- if [ -d /var/wwwoffle ]; then ${MKDIR} /var/wwwoffle/http; fi
+ if [ -d /var/wwwoffle ]; then \
+ ${RM} -rf /var/wwwoffle/html.old; \
+ ${MKDIR} /var/wwwoffle/http; \
+ fi
post-install:
if [ -f ${PREFIX}/etc/wwwoffle/wwwoffle.conf.install ]; then \