Add greeter install for lightdm

This commit is contained in:
fortifyde 2024-10-15 11:08:32 +02:00 committed by GitHub
parent 79eb752552
commit 7c733f5440
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -218,6 +218,9 @@ setupDisplayManager() {
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm "$DM"
if [ "$DM" = "lightdm" ]; then
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm lightdm-gtk-greeter # greeter is required for lightdm to start without autologin enabled
fi
;;
apt-get|nala)
"$ESCALATION_TOOL" "$PACKAGER" install -y "$DM"