# Used in a `case fish)`
plasma-login-manager: bash-term-in-posix-shell '$SHELL --login' [etc/plasmalogin/Xsession:*]

# The login manager is controlled via display-manager.service, so the unit
# intentionally has no WantedBy= and is not enabled on its own.
plasma-login-manager: systemd-service-file-missing-install-key [usr/lib/systemd/system/plasmalogin.service]

# Upstream ships no manual pages.
#plasma-login-manager: no-manual-page [usr/bin/*]

# The systemsettings executable is provided by the systemsettings package,
# which plasma-workspace (a dependency of us) recommends.
plasma-login-manager: desktop-command-not-in-package systemsettings [usr/share/applications/kcm_plasmalogin.desktop]

# The daemon_name template is read indirectly via db_get "$RET"/daemon_name
# in the display manager selection logic (postinst/prerm).
plasma-login-manager: unused-debconf-template plasma-login-manager/daemon_name [templates:*]

# Upstream session scripts: the bash constructs are only reached inside the
# */bash) case branch after re-executing under bash.
plasma-login-manager: bash-term-in-posix-shell * [usr/share/plasmalogin/scripts/Xsession:*]
plasma-login-manager: bash-term-in-posix-shell * [usr/share/plasmalogin/scripts/wayland-session:*]

# dh_installtmpfiles embeds the upstream tmpfiles.d snippet into the postrm, the /tmp entries
# are the xauth/socket cleanup rules of that snippet, not maintainer-script file handling.
plasma-login-manager: possibly-insecure-handling-of-tmp-files-in-maintainer-script /tmp [postrm:*]
