mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Make sure the STATEDIR is created when installing the package. Otherwise munin
processes refuse to start. Reported by: Alain AUDEBERT <deuza@me.com>
This commit is contained in:
parent
f161eddc38
commit
16efccedf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292759
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= munin
|
||||
PORTVERSION= 1.4.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils perl5
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
|
||||
PKGNAMESUFFIX= -common
|
||||
|
|
|
@ -8,3 +8,5 @@
|
|||
@dirrm %%SITE_PERL%%/Munin
|
||||
@exec mkdir -p %%LOGDIR%%
|
||||
@unexec /bin/rmdir %%LOGDIR%% 2>/dev/null || /usr/bin/true
|
||||
@exec mkdir -p %%STATEDIR%%
|
||||
@unexec /bin/rmdir %%STATEDIR%% 2>/dev/null || /usr/bin/true
|
||||
|
|
Loading…
Add table
Reference in a new issue