[displaymanagers] fix sed routine

This commit is contained in:
Philip 2017-06-28 11:42:53 +02:00
parent f048772020
commit cc5adb6586

View File

@ -469,12 +469,14 @@ def run():
if (os.path.exists(greeter_desktop)):
libcalamares.utils.debug("configure {!s}".format(greeter))
os.system(
"sed -i -e "
"\"s/^.*greeter-session=.*/greeter-session={!s}/\" "
"{!s}".format(
greeter,
lightdm_conf_path
)
)
else:
return ("No lightdm greeter installed.")
else: