mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
fixed deb822 glitch, didn't handle all false cases
This commit is contained in:
parent
4e7a20a4b4
commit
9cc7b61562
2
inxi
2
inxi
|
@ -13162,7 +13162,7 @@ sub get_repos_linux {
|
|||
}
|
||||
if ($row =~ /^Enabled:\s*(.*)/){
|
||||
my $status = $1;
|
||||
$b_apt_enabled = ($status =~ /no/i) ? 0: 1;
|
||||
$b_apt_enabled = ($status =~ /\b(disable|false|off|no|without)\b/i) ? 0: 1;
|
||||
}
|
||||
if ($row =~ /:\//){
|
||||
my $url = $row;
|
||||
|
|
|
@ -24,6 +24,7 @@ suspect this is not a common situation, but you never know, it would never
|
|||
have shown up in datasets unless I had looked specifically for it, so it may
|
||||
be more common than I think.
|
||||
3. Cleaned up and simplified new --admin -p and -d logic.
|
||||
4. Small fix in deb822 repo type false flags.
|
||||
|
||||
Enhancements:
|
||||
1. For debugging, renamed all user debugger switches to have prefix --debug.
|
||||
|
|
Loading…
Reference in a new issue