Date: Tue, 20 Feb 2024 13:35:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275300] [PATCH] www/angie: Create/delete logs directory using hooks Message-ID: <bug-275300-7788-gmKFzpvofe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275300-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-275300-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275300 Robert Clausecker <fuz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org --- Comment #2 from Robert Clausecker <fuz@FreeBSD.org> --- This is probably better solved by creating the directory in the rc.d script= and leaving it out of the package entirely. That said, instead of adding installation and deinstallation scripts, you should at least do something like adding @preexec mkdir -p %%LOGDIR%% @postunexec rmdir %%LOGDIR%% 2>/dev/null || true to pkg-plist. I have asked on the ports IRC channel for the proper way to do this and will report back if there is a better solution. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275300-7788-gmKFzpvofe>