Skip to content

Don't assume existence of session install target dirs

install-sessions.sh currently assumes that both /usr/share/xsessions and /usr/share/wayland-sessions will exist. However it's valid that one might not; for example you might have only X11 sessions, or only Wayland sessions. In this case the script will fail.

To be safe, create them if they don't exist before attempting to install files to them.

Merge request reports