diff options
author | wiz <wiz> | 2002-04-08 13:57:12 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-04-08 13:57:12 +0000 |
commit | b2ee0d7d951a379d6a1b87803344a0afd4e8bd15 (patch) | |
tree | adb2a2f159059ecded81a5a51d56c58e8878c2a7 /pkgtools/pkglint/files/pkglint.pl | |
parent | ce81ae30a14b0758cbc45544d880e26ddf8d67b4 (diff) | |
download | pkgsrc-b2ee0d7d951a379d6a1b87803344a0afd4e8bd15.tar.gz |
Recognize ${INSTALL_INFO} in PLISTs as install-info.
Bump to 3.25.
Diffstat (limited to 'pkgtools/pkglint/files/pkglint.pl')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 2bb84b41ada..df44dc9457a 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.65 2002/02/27 11:20:59 abs Exp $ +# $NetBSD: pkglint.pl,v 1.66 2002/04/08 13:57:14 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -359,8 +359,12 @@ sub checkplist { "instead of \"\@unexec rmdir\"."); } elsif ($_ =~ /^\@exec[ \t]+(.*\/)?install-info/) { $infoinstallseen = $. + } elsif ($_ =~ /^\@exec[ \t]+(.*\/)?\$\{INSTALL_INFO\}/) { + $infoinstallseen = $. } elsif ($_ =~ /^\@unexec[ \t]+(.*\/)?install-info[ \t]+--delete/) { $inforemoveseen = $. + } elsif ($_ =~ /^\@unexec[ \t]+(.*\/)?\$\{INSTALL_INFO\}[ \t]+--delete/) { + $inforemoveseen = $. } elsif ($_ =~ /^\@(exec|unexec)/) { if (/ldconfig/ && !/\/usr\/bin\/true/) { |