* Patch from Jan Nieuwenhuizen to fix control file extraction on

non-debian systems. Not for frozen.
This commit is contained in:
joey
2000-01-16 22:50:13 +00:00
parent 27eaa10fb7
commit 96387221f0
2 changed files with 10 additions and 1 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
alien (6.55) unstable; urgency=low
* Patch from Jan Nieuwenhuizen to fix control file extraction on
non-debian systems. Not for frozen.
-- Joey Hess <joeyh@debian.org> Sun, 16 Jan 2000 14:45:31 -0800
alien (6.54) unstable; urgency=low alien (6.54) unstable; urgency=low
* Added metrolink motif diffs from * Added metrolink motif diffs from

View File

@@ -29,7 +29,9 @@ sub GetFields { my ($self,$file)=@_;
@control = `dpkg-deb --info $file control`; @control = `dpkg-deb --info $file control`;
} }
else { else {
@control = `ar p $file control.tar.gz | tar Oxzf - control`; # It can have one of two names, depending on the tar
# version the .deb was built from.
@control = `ar p $file control.tar.gz | tar Oxzf - control [./]control`;
} }
# Parse control file and extract fields. # Parse control file and extract fields.