Commit 6dc8da6c authored by David Edmundson's avatar David Edmundson
Browse files

Add kconf update script for ksmserver

A config enum value was moved in 506d1807 to
kcfg we should port the value for existing setups.

What used to be the string "default" is now "emptySession"
"default" was not the default. (confusingly)

On an upgrade "default" will fail to load and go to the default which is "restorePreviousLogout" and not "emptySession"

Test Plan: Ran script

Reviewers: #plasma

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision:
parent 6175428b
......@@ -20,3 +20,4 @@ install(TARGETS kcm_smserver DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES kcmsmserver.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
#!/usr/bin/env python3
import fileinput
for line in fileinput.input():
if line.startswith("loginMode="):
print ("# DELETE loginMode")
line = line.replace("default", "emptySession")
print (line.strip())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment