* Support rpms that contain no files. Closes: #184714

This commit is contained in:
joey
2003-03-16 05:35:36 +00:00
parent 40e12efe45
commit 06371a53ca
2 changed files with 10 additions and 2 deletions

View File

@@ -172,9 +172,11 @@ sub unpack {
} }
} }
# Now move all files in the package to the directory we made. # Now move all files in the package to the directory we made.
if (@filelist) {
(system("mv", @filelist, "$workdir/".$this->prefixes) == 0) (system("mv", @filelist, "$workdir/".$this->prefixes) == 0)
or die "error moving unpacked files into the default prefix directory: $!"; or die "error moving unpacked files into the default prefix directory: $!";
} }
}
# cpio does not necessarily store all parent directories in an # cpio does not necessarily store all parent directories in an
# archive, and so some directories, if it has to make them and has # archive, and so some directories, if it has to make them and has

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (8.25) unstable; urgency=low
* Support rpms that contain no files. Closes: #184714
-- Joey Hess <joeyh@debian.org> Sat, 15 Mar 2003 21:34:33 -0800
alien (8.24) unstable; urgency=low alien (8.24) unstable; urgency=low
* Corrected precidence problem that made alien not catch mkdir of the work * Corrected precidence problem that made alien not catch mkdir of the work