[displaymanager] fix issues

This commit is contained in:
Philip 2017-06-28 10:29:27 +02:00
parent ac179343d6
commit 82626d7639

View File

@ -459,8 +459,10 @@ 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))
"sed -i -e \"s/^.*greeter-session=.*/greeter-session={!s}/\" "
@ -468,7 +470,6 @@ def run():
greeter,
lightdm_conf_path
)
)
else:
return ("No lightdm greeter installed.")
else: