[displaymanagers] fix sed routine
This commit is contained in:
parent
f048772020
commit
cc5adb6586
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user