summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-10 22:36:46 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-10 22:36:46 +0000
commitde08b3c99e81030d1455dc7b3bf869559a234495 (patch)
tree71639bb74323bb82e7203d84511e8b81702ca2fa /perl-install/c/stuff.pm
parenteaf1f7e94354b3bf37db6864de8364ffbda223f7 (diff)
downloaddrakx-backup-do-not-use-de08b3c99e81030d1455dc7b3bf869559a234495.tar
drakx-backup-do-not-use-de08b3c99e81030d1455dc7b3bf869559a234495.tar.gz
drakx-backup-do-not-use-de08b3c99e81030d1455dc7b3bf869559a234495.tar.bz2
drakx-backup-do-not-use-de08b3c99e81030d1455dc7b3bf869559a234495.tar.xz
drakx-backup-do-not-use-de08b3c99e81030d1455dc7b3bf869559a234495.zip
no_comment
Diffstat (limited to 'perl-install/c/stuff.pm')
-rw-r--r--perl-install/c/stuff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm
index ad5cf316d..70f2b3222 100644
--- a/perl-install/c/stuff.pm
+++ b/perl-install/c/stuff.pm
@@ -14,7 +14,7 @@ bootstrap c::stuff $VERSION;
sub headerGetEntry {
my ($h, $q) = @_;
-
+ $h or log::l("empty header in headerGetEntry"), return;
$q eq 'name' and return headerGetEntry_string($h, RPMTAG_NAME());
$q eq 'group' and return headerGetEntry_string($h, RPMTAG_GROUP());
$q eq 'version' and return headerGetEntry_string($h, RPMTAG_VERSION());