Move the @extraunexec lines up in the PLIST so that pkg_delete does not

warn about non existing directory when using `-c'.
This commit is contained in:
ajacoutot 2011-05-10 07:47:05 +00:00
parent b1193d6513
commit 49214ff95f
2 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.27 2011/04/13 17:44:59 rpointel Exp $
# $OpenBSD: Makefile,v 1.28 2011/05/10 07:47:05 ajacoutot Exp $
COMMENT= secure webserver
DISTNAME= hiawatha-7.4.1
CATEGORIES= www net
REVISION= 0
HOMEPAGE= http://www.hiawatha-webserver.org/
# GPLv2

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2011/04/13 17:44:59 rpointel Exp $
@comment $OpenBSD: PLIST,v 1.10 2011/05/10 07:47:05 ajacoutot Exp $
@newgroup _hiawatha:579
@newuser _hiawatha:579:579:daemon:Hiawatha HTTP Server:/nonexistent:/sbin/nologin
@bin bin/ssi-cgi
@ -28,6 +28,8 @@ share/examples/hiawatha/mimetype.conf
@sample ${SYSCONFDIR}/hiawatha/mimetype.conf
share/examples/hiawatha/php-fcgi.conf
@sample ${SYSCONFDIR}/hiawatha/php-fcgi.conf
@extraunexec rm -rf /var/db/hiawatha/*
@extraunexec rm -rf /var/log/hiawatha/*
@sample /var/log/hiawatha/
@owner _hiawatha
@group _hiawatha
@ -37,4 +39,3 @@ share/examples/hiawatha/php-fcgi.conf
@group
@mode
@rcscript ${RCDIR}/hiawatha
@extraunexec rm -rf /var/db/hiawatha/