mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Patch from Jan Nieuwenhuizen to fix control file extraction on
non-debian systems. Not for frozen.
This commit is contained in:
@@ -29,7 +29,9 @@ sub GetFields { my ($self,$file)=@_;
|
||||
@control = `dpkg-deb --info $file control`;
|
||||
}
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user