bug fix for pacman-g2, used bad data source for the info command for g2.

This commit is contained in:
Harald Hope 2020-08-10 18:17:07 -07:00
parent 6ce9149bb1
commit 2ebd05dfb6

4
inxi
View file

@ -40,7 +40,7 @@ use POSIX qw(uname strftime ttyname);
## INXI INFO ## ## INXI INFO ##
my $self_name='inxi'; my $self_name='inxi';
my $self_version='3.1.05'; my $self_version='3.1.05';
my $self_date='2020-07-27'; my $self_date='2020-08-09';
my $self_patch='00'; my $self_patch='00';
## END INXI INFO ## ## END INXI INFO ##
@ -19490,7 +19490,7 @@ sub package_counts {
['guix-sys','guix','p','package -p "/run/current-system/profile" -I',1,0,''], ['guix-sys','guix','p','package -p "/run/current-system/profile" -I',1,0,''],
['guix-usr','guix','p','package package -I',1,0,''], ['guix-usr','guix','p','package package -I',1,0,''],
['pacman','pacman','p','-Qq --color never',1,0,''], ['pacman','pacman','p','-Qq --color never',1,0,''],
['pacman-g2','pacman-g2','p','-i',1,0,''], ['pacman-g2','pacman-g2','p','-Q',1,0,''],
['pkg','pkg','d','/var/db/pkg/*',1,0,''], # 'pkg list' returns non programs ['pkg','pkg','d','/var/db/pkg/*',1,0,''], # 'pkg list' returns non programs
['pkg_info','pkg_info','p','',1,0,''], ['pkg_info','pkg_info','p','',1,0,''],
['pkgtool','pkgtool','d','/var/log/packages/*',1,4,'\\/'], ['pkgtool','pkgtool','d','/var/log/packages/*',1,4,'\\/'],