Modifications
- [bootloader] Fix vfat_correct_case - [welcome] Fix RequirementsChecker::checkHasInternet()
This commit is contained in:
parent
77ea82baee
commit
c8f1134196
@ -253,7 +253,7 @@ def install_grub(efi_directory, fw_type):
|
|||||||
def vfat_correct_case(parent, name):
|
def vfat_correct_case(parent, name):
|
||||||
for candidate in os.listdir(parent):
|
for candidate in os.listdir(parent):
|
||||||
if name.lower() == candidate.lower():
|
if name.lower() == candidate.lower():
|
||||||
return candidate
|
return os.path.join(parent, candidate)
|
||||||
return os.path.join(parent, name)
|
return os.path.join(parent, name)
|
||||||
|
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ RequirementsChecker::checkHasInternet()
|
|||||||
QDBusConnection::systemBus(), 0 );
|
QDBusConnection::systemBus(), 0 );
|
||||||
|
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
int nmState = nmIntf.property( "state" ).toInt( &ok );
|
int nmState = nmIntf.property( "State" ).toInt( &ok );
|
||||||
|
|
||||||
if ( !ok || !nmIntf.isValid() )
|
if ( !ok || !nmIntf.isValid() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user