mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Fix for extracting control files from debs on systems w/o dpkg-deb.
Don't try to extract "file", just "./file".
This commit is contained in:
@@ -136,12 +136,10 @@ sub getcontrolfile {
|
||||
|
||||
return "(mkdir /tmp/tar_out.$$ &&".
|
||||
" cd /tmp/tar_out.$$ &&".
|
||||
# Have to handle old debs without a leading ./ and
|
||||
# new ones with it.
|
||||
" tar xf - $file ./$file &&".
|
||||
" tar xf - ./$file &&".
|
||||
" cat $file; cd /; rm -rf /tmp/tar_out.$$)";
|
||||
}
|
||||
my $getcontrol = "ar -p $file control.tar.gz | gzip -dc | ".tar_out($controlfile)." 2>/dev/null";
|
||||
my $getcontrol = "ar -p $file control.tar.gz | gzip -dc | ".tar_out($controlfile);
|
||||
return `$getcontrol`
|
||||
}
|
||||
}
|
||||
|
||||
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -1,3 +1,10 @@
|
||||
alien (8.11) unstable; urgency=low
|
||||
|
||||
* Fix for extracting control files from debs on systems w/o dpkg-deb.
|
||||
Don't try to extract "file", just "./file".
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 12 Jun 2002 13:34:09 -0400
|
||||
|
||||
alien (8.10) unstable; urgency=low
|
||||
|
||||
* Build alien with debhelper v4.
|
||||
|
||||
Reference in New Issue
Block a user