Commit 8c66eb4d authored by Michael Pyne's avatar Michael Pyne
Browse files

xsession: Make installed .xsession executable.

parent 9f21b558
......@@ -6686,6 +6686,13 @@ sub installCustomSessionDriver
'kde-env-master-digest');
installCustomFile($ctx, $sessionScript, "$ENV{HOME}/.xsession",
'xsession-digest');
if (!pretending()) {
chmod (0744, "$ENV{HOME}/.xsession") or do {
error ("\tb[r[*] Error making b[~/.xsession] executable: $!");
error ("\tb[r[*] If this file is not executable you may not be able to login!");
};
}
}
# Reads a "line" from a file. This line is stripped of comments and extraneous
......
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