diff options
author | garga <garga@FreeBSD.org> | 2014-01-22 01:18:22 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2014-01-22 01:18:22 +0800 |
commit | ae9d98a5cbde0c4547e3c9e8d66505eb20c59a03 (patch) | |
tree | 5b2d6c9d7dc375db348f15ba4fe1ca33eeaf231f /www | |
parent | 786db264f9d694d539817164f5ad24e3edf573c5 (diff) | |
download | freebsd-ports-gnome-ae9d98a5cbde0c4547e3c9e8d66505eb20c59a03.tar.gz freebsd-ports-gnome-ae9d98a5cbde0c4547e3c9e8d66505eb20c59a03.tar.zst freebsd-ports-gnome-ae9d98a5cbde0c4547e3c9e8d66505eb20c59a03.zip |
Really fix /var/log/lighttpd install and deinstall, sorry for the noise
Diffstat (limited to 'www')
-rw-r--r-- | www/lighttpd/Makefile | 1 | ||||
-rw-r--r-- | www/lighttpd/pkg-plist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index c6f23b11d5cc..ad9a3355549f 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -229,6 +229,7 @@ post-install: @${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE} . endfor .endif + @${MKDIR} -m 0700 ${STAGEDIR}${LIGHTTPD_LOGROOT} test: build @cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${MAKE} \ diff --git a/www/lighttpd/pkg-plist b/www/lighttpd/pkg-plist index 385b6488655b..2108db6dc222 100644 --- a/www/lighttpd/pkg-plist +++ b/www/lighttpd/pkg-plist @@ -181,3 +181,4 @@ sbin/lighttpd-angel @cwd / @exec %%MKDIR%% -m 0700 %%LOGROOT%% @exec %%CHOWN%% %%USER%%:%%GROUP%% %%LOGROOT%% +@unexec rmdir %%LOGROOT%% >/dev/null 2>&1 || : |