diff --git a/Alien/Package/Rpm.pm b/Alien/Package/Rpm.pm index 376da16..d3b27c7 100644 --- a/Alien/Package/Rpm.pm +++ b/Alien/Package/Rpm.pm @@ -172,8 +172,10 @@ sub unpack { } } # Now move all files in the package to the directory we made. - (system("mv", @filelist, "$workdir/".$this->prefixes) == 0) - or die "error moving unpacked files into the default prefix directory: $!"; + if (@filelist) { + (system("mv", @filelist, "$workdir/".$this->prefixes) == 0) + or die "error moving unpacked files into the default prefix directory: $!"; + } } # cpio does not necessarily store all parent directories in an diff --git a/debian/changelog b/debian/changelog index 5856042..9eb9f90 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +alien (8.25) unstable; urgency=low + + * Support rpms that contain no files. Closes: #184714 + + -- Joey Hess Sat, 15 Mar 2003 21:34:33 -0800 + alien (8.24) unstable; urgency=low * Corrected precidence problem that made alien not catch mkdir of the work