From 6be62f3a9de929682986532e51779f94dd3bf13c Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 2 Sep 2014 17:41:25 +0000 Subject: Package empty directories --- www/squidstats/pkg-plist | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'www/squidstats') diff --git a/www/squidstats/pkg-plist b/www/squidstats/pkg-plist index c727ba9b54b9..b4aaa23105ca 100644 --- a/www/squidstats/pkg-plist +++ b/www/squidstats/pkg-plist @@ -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 -- cgit