ports/153855: [patch] sysutils/ganglia-webfrontend fix @dirrmtry usage
Andrej Zverev
andrej.zverev at gmail.com
Mon Jan 10 19:00:21 UTC 2011
>Number: 153855
>Category: ports
>Synopsis: [patch] sysutils/ganglia-webfrontend fix @dirrmtry usage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 10 19:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Andrej Zverev
>Release:
>Organization:
>Environment:
>Description:
@dirrmtry expand itself as
@unexec rmdir %D/<dir> 2>/dev/null || true
so, you don't need anything extra.
>How-To-Repeat:
>Fix:
--- ganglia-webfrontend.diff begins here ---
Index: ganglia-webfrontend/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/sysutils/ganglia-webfrontend/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- ganglia-webfrontend/pkg-plist 30 Jan 2009 03:56:35 -0000 1.7
+++ ganglia-webfrontend/pkg-plist 10 Jan 2011 18:48:06 -0000
@@ -64,5 +64,5 @@
@dirrm %%WEBFRONTDIR%%/templates/default
@dirrm %%WEBFRONTDIR%%/templates
@dirrm %%WEBFRONTDIR%%/graph.d
- at dirrmtry /bin/rmdir %D/%%WEBFRONTDIR%%
+ at dirrmtry %%WEBFRONTDIR%%
@unexec (test -d %D/%%WEBFRONTDIR%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%WEBFRONTDIR%% and its contents manually.")) || true
--- ganglia-webfrontend.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list