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