* Should avoid warning message, Closes: #140286

* README and description updates.
This commit is contained in:
joey
2002-03-28 19:37:18 +00:00
parent d89bc84829
commit 8a569fb405
2 changed files with 11 additions and 2 deletions

View File

@@ -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([]);
}

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
alien (8.03) unstable; urgency=low
* Should avoid warning message, Closes: #140286
* README and description updates.
-- Joey Hess <joey@kitenet.net> 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