mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated login-manager service checks
This commit is contained in:
parent
0be860cbab
commit
9d7ffc1c78
@ -172,6 +172,7 @@ printf "\n"
|
||||
# Ensuring all in the scripts folder are made executable
|
||||
chmod +x install-scripts/*
|
||||
|
||||
printf "\n%.0s" {1..3}
|
||||
# check if any known login managers are active when users choose to install sddm
|
||||
if [ "$sddm" == "Y" ]; then
|
||||
# List of services to check
|
||||
@ -182,6 +183,8 @@ if [ "$sddm" == "Y" ]; then
|
||||
if systemctl is-active --quiet "$svc"; then
|
||||
echo "${ERROR} $svc is active. Please stop or disable it first or do not choose SDDM to install."
|
||||
echo "${NOTE} If you have GDM, no need to install SDDM. GDM will work fine as Login Manager for Hyprland."
|
||||
printf "\n%.0s" {1..3}
|
||||
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user