From 8a569fb405a673e37bbdd9d184f47a94a1850efb Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 28 Mar 2002 19:37:18 +0000 Subject: [PATCH] * Should avoid warning message, Closes: #140286 * README and description updates. --- Alien/Package/Rpm.pm | 6 ++++-- debian/changelog | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Alien/Package/Rpm.pm b/Alien/Package/Rpm.pm index 88c776a..8d2db61 100644 --- a/Alien/Package/Rpm.pm +++ b/Alien/Package/Rpm.pm @@ -89,7 +89,8 @@ sub scan { # Get the conffiles list. $this->conffiles([map { chomp; $_ } `LANG=C rpm -qcp $file`]); - if ($this->conffiles->[0] eq '(contains no files)') { + if (defined $this->conffiles->[0] && + $this->conffiles->[0] eq '(contains no files)') { $this->conffiles([]); } @@ -97,7 +98,8 @@ sub scan { # Get the filelist. $this->filelist([map { chomp; $_ } `LANG=C rpm -qpl $file`]); - if ($this->filelist->[0] eq '(contains no files)') { + if (defined $this->filelist->[0] &&& + $this->filelist->[0] eq '(contains no files)') { $this->filelist([]); } diff --git a/debian/changelog b/debian/changelog index 575ab7e..af2e9f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alien (8.03) unstable; urgency=low + + * Should avoid warning message, Closes: #140286 + * README and description updates. + + -- Joey Hess Thu, 28 Mar 2002 14:27:10 -0500 + alien (8.02) unstable; urgency=low * Made more robust in the face of empty rpms. Closes: #138969