[displaymanager] fix issues
This commit is contained in:
parent
ac179343d6
commit
82626d7639
@ -459,7 +459,9 @@ def run():
|
||||
if (os.path.exists(greeter_path)):
|
||||
greeter = os.listdir(greeter_path)[0].split('.')[0]
|
||||
greeter_desktop = os.path.join(
|
||||
greeter_path, greeter, ".desktop"
|
||||
greeter_path,
|
||||
greeter,
|
||||
".desktop"
|
||||
)
|
||||
if (os.path.exists(greeter_desktop)):
|
||||
libcalamares.utils.debug("configure {!s}".format(greeter))
|
||||
@ -468,7 +470,6 @@ def run():
|
||||
greeter,
|
||||
lightdm_conf_path
|
||||
)
|
||||
)
|
||||
else:
|
||||
return ("No lightdm greeter installed.")
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user