[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,11 +469,13 @@ def run():
if (os.path.exists(greeter_desktop)): if (os.path.exists(greeter_desktop)):
libcalamares.utils.debug("configure {!s}".format(greeter)) libcalamares.utils.debug("configure {!s}".format(greeter))
"sed -i -e " os.system(
"\"s/^.*greeter-session=.*/greeter-session={!s}/\" " "sed -i -e "
"{!s}".format( "\"s/^.*greeter-session=.*/greeter-session={!s}/\" "
greeter, "{!s}".format(
lightdm_conf_path greeter,
lightdm_conf_path
)
) )
else: else:
return ("No lightdm greeter installed.") return ("No lightdm greeter installed.")