fixed deb822 glitch, didn't handle all false cases

This commit is contained in:
Harald Hope 2018-09-28 16:08:46 -07:00
parent 4e7a20a4b4
commit 9cc7b61562
2 changed files with 2 additions and 1 deletions

2
inxi
View file

@ -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;

View file

@ -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.