Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 21:51:03 +0300
From:      Andrej Zverev <andrej.zverev@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153855: [patch] sysutils/ganglia-webfrontend fix @dirrmtry usage
Message-ID:  <E1PcMpb-000OKR-Vu@sunner.semmy.ru>
Resent-Message-ID: <201101101900.p0AJ0Lh2012912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
-@dirrmtry /bin/rmdir %D/%%WEBFRONTDIR%%
+@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PcMpb-000OKR-Vu>