* Fixed rpm unpacking.

This commit is contained in:
joey
2002-07-12 23:29:49 +00:00
parent ee2a176b24
commit c6b855ed5c
2 changed files with 9 additions and 2 deletions

View File

@@ -195,8 +195,9 @@ sub unpack {
print STDERR "WARNING: $file is owned by a group ($group) not on this system; using group root instead"; print STDERR "WARNING: $file is owned by a group ($group) not on this system; using group root instead";
$gid=0; $gid=0;
} }
chown($uid, $gid, $file) || die "failed chowning $file to $uid\:$gid\: $!"; next unless -e "$workdir/$file"; # skip broken links
chmod($mode, $file) || die "failed changing mode of $file to $mode\: $!"; chown($uid, $gid, "$workdir/$file") || die "failed chowning $file to $uid\:$gid\: $!";
chmod($mode, "$workdir/$file") || die "failed changing mode of $file to $mode\: $!";
} }
} }

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (8.16) unstable; urgency=low
* Fixed rpm unpacking.
-- Joey Hess <joeyh@debian.org> Fri, 12 Jul 2002 19:35:06 -0400
alien (8.15) unstable; urgency=low alien (8.15) unstable; urgency=low
* Fix a longstanding bug I was only recently told about: When converting * Fix a longstanding bug I was only recently told about: When converting