releasing version 8.56

This commit is contained in:
joey
2005-07-20 00:57:38 +00:00
parent 1c337c3e20
commit b12afcb1b7
5 changed files with 41 additions and 9 deletions

View File

@@ -206,6 +206,23 @@ sub filename {
return $this->{filename};
}
=item scripts
Returns a list of all non-empty maintainer scripts in the package.
=cut
sub scripts {
my $this=shift;
my @ret;
foreach my $s (qw{postinst postrm preinst prerm}) {
my $val=$this->$s;
push(@ret, $s) if defined $val && length $val;
}
return @ret;
}
=item scan
This method scans the file associated with an object, and populates as many