summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2009-07-22 22:11:54 +0000
committerrillig <rillig>2009-07-22 22:11:54 +0000
commit9a734f869381800477799de975a76a70cc460f43 (patch)
treeba9410776060d2b35ea42285ba69d1ad8eaae4ae
parentcf95de340fdf80971408a39ce596e72a04aa2eae (diff)
downloadpkgsrc-9a734f869381800477799de975a76a70cc460f43.tar.gz
Don't suggest to use obsolete features.
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 480b9155701..7022810a2ad 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.816 2009/07/22 09:13:49 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.817 2009/07/22 22:11:54 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -7652,7 +7652,7 @@ sub checkfile_PLIST($) {
if ($cmd eq "unexec" && $arg =~ m"^(rmdir|\$\{RMDIR\} \%D/)(.*)") {
my ($rmdir, $rest) = ($1, $2);
if ($rest !~ m"(?:true|\$\{TRUE\})") {
- $line->log_warning("Please use \"\@dirrm\" instead of \"\@unexec rmdir\".");
+ $line->log_warning("Please remove this line. It is no longer necessary.");
}
} elsif (($cmd eq "exec" || $cmd eq "unexec")) {
@@ -7669,7 +7669,7 @@ sub checkfile_PLIST($) {
} elsif ($cmd eq "dirrm") {
$line->log_warning("\@dirrm is obsolete. Please remove this line.");
$line->explain_warning(
-"Directories are removed automatically when empty.",
+"Directories are removed automatically when they are empty.",
"When a package needs an empty directory, it can use the \@pkgdir",
"command in the PLIST");