mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Changed all invocations of programs to be in posix-complient form. Ie,
no options after args, so people who set POSIX_ME_HARDER can still use
alien.
* Bahave better if there is no /etc/mailname.
This commit is contained in:
@@ -82,7 +82,7 @@ sub scan {
|
||||
|
||||
# Use --queryformat to pull out all the fields we need.
|
||||
foreach my $field (keys(%fieldtrans)) {
|
||||
$_=`LANG=C rpm -qp $file --queryformat \%{$field}`;
|
||||
$_=`LANG=C rpm -qp --queryformat \%{$field} $file`;
|
||||
$field=$fieldtrans{$field};
|
||||
$_='' if $_ eq '(none)';
|
||||
$this->$field($_);
|
||||
|
||||
Reference in New Issue
Block a user