Package empty directories
This commit is contained in:
parent
8c4965584f
commit
5e950c47fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367062
1 changed files with 3 additions and 7 deletions
|
@ -24,10 +24,6 @@ www/cgi-bin/graph-summary.cgi
|
|||
@dirrm %%DATADIR%%/templates
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry www/cgi-bin
|
||||
@cwd /
|
||||
@comment set directory owner
|
||||
@exec chown -R %%WWWOWN%% "/var/db/squidstats/graphs"
|
||||
@exec chown -R %%SQUID_USER%% "/var/db/squidstats/rrd"
|
||||
@unexec rmdir "/var/db/squidstats/graphs" >/dev/null 2>&1 || :
|
||||
@unexec rmdir "/var/db/squidstats/rrd" >/dev/null 2>&1 || :
|
||||
@unexec rmdir "/var/db/squidstats" >/dev/null 2>&1 || :
|
||||
@dirrmtry(%%WWWOWN%%,,) /var/db/squidstats/graphs
|
||||
@dirrmtry(%%SQUID_USER%%,,) /var/db/squidstats/rrd
|
||||
@dirrmtry /var/db/squidstats
|
||||
|
|
Loading…
Reference in a new issue