dmcheck: Fix enabling ly (#85)

ly.service no longer exists and instead uses a template service. The
symlink matches the behaviour when running `systemctl enable
ly@tty2`

Signed-off-by: Eric Naim <dnaim@cachyos.org>
This commit is contained in:
Eric Naim authored and GitHub committed 2026-02-24 20:17:34 +01:00
1 parent 3ca6ecac56
commit e9aae42e75
1 file changed
+2 -1
+2 -1
View File
@@ -17,7 +17,8 @@
package=ly
if pacman -Qs $package > /dev/null ; then
ln -sf /usr/lib/systemd/system/ly.service /etc/systemd/system/display-manager.service
rm -f /etc/systemd/system/getty.target.wants/getty@tty2.service
ln -sf /usr/lib/systemd/system/ly@.service /etc/systemd/system/multi-user.target.wants/ly@tty2.service
fi
package=plasma-login-manager
if pacman -Qs $package > /dev/null ; then