mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
fixed repo deb822 cleaner logic
This commit is contained in:
parent
258fc1d639
commit
853b651942
8
inxi
8
inxi
|
@ -13135,8 +13135,8 @@ sub get_repos_linux {
|
||||||
foreach my $row (@data2){
|
foreach my $row (@data2){
|
||||||
next if $row =~ /^\s+/; # deb822 supports line folding which starts with space
|
next if $row =~ /^\s+/; # deb822 supports line folding which starts with space
|
||||||
#print "$row\n";
|
#print "$row\n";
|
||||||
if ($row eq '~' && @apt_working){
|
if ($row eq '~'){
|
||||||
if ($b_apt_enabled){
|
if (@apt_working && $b_apt_enabled){
|
||||||
#print "1: url builder\n";
|
#print "1: url builder\n";
|
||||||
foreach $repo (@apt_working){
|
foreach $repo (@apt_working){
|
||||||
$string = $apt_types;
|
$string = $apt_types;
|
||||||
|
@ -13147,9 +13147,9 @@ sub get_repos_linux {
|
||||||
#print "s1:$string\n";
|
#print "s1:$string\n";
|
||||||
push @data3, $string;
|
push @data3, $string;
|
||||||
}
|
}
|
||||||
|
#print join "\n",@data3,"\n";
|
||||||
|
@apt_urls = (@apt_urls,@data3);
|
||||||
}
|
}
|
||||||
#print join "\n",@data3,"\n";
|
|
||||||
@apt_urls = (@apt_urls,@data3);
|
|
||||||
@data3 = ();
|
@data3 = ();
|
||||||
@apt_working = ();
|
@apt_working = ();
|
||||||
$apt_arch = '';
|
$apt_arch = '';
|
||||||
|
|
Loading…
Reference in a new issue