Date: Fri, 08 Oct 2010 19:55:48 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/151301: [PATCH] ports-mgmt/portlint: @rmtry support. Message-ID: <4CAEF8B4.9060505@airport.fm> Resent-Message-ID: <201010081100.o98B07rG097491@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151301 >Category: ports >Synopsis: [PATCH] ports-mgmt/portlint: @rmtry support. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 08 11:00:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: >Organization: FOX Amateur Radio Club >Environment: >Description: >How-To-Repeat: >Fix: --- portlint.diff begins here --- diff -ruN /usr/ports/ports-mgmt/portlint/src/portlint.pl ports-mgmt/portlint/src/portlint.pl --- /usr/ports/ports-mgmt/portlint/src/portlint.pl 2010-07-21 16:58:42.000000000 +0900 +++ ports-mgmt/portlint/src/portlint.pl 2010-10-08 18:01:16.000000000 +0900 @@ -788,7 +788,7 @@ "will not work as you expected in most cases. Use ". "pkg-deinstall or \@unexec rmdir ... if you want to ". "remove a directory such as /var/\${PORTNAME}"); - } elsif ($_ =~ /^\@(dirrm|option|stopdaemon)/) { + } elsif ($_ =~ /^\@(rmtry|dirrm|option|stopdaemon)/) { ; # no check made } elsif ($_ eq "\@cwd") { ; # @cwd by itself means change directory back to the original --- portlint.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?4CAEF8B4.9060505>