mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Feat: add check for runit with pacman
It requires additional sddm-runit to add to service file directory (e.g., Artix-runit) Signed-off-by: Noname Blank <nonameblank007@gmail.com>
This commit is contained in:
@@ -246,6 +246,11 @@ enable_sddm() {
|
||||
sv=$(_runit_sv)
|
||||
runsvdir=$(_runit_runsvdir)
|
||||
|
||||
if command -v pacman >/dev/null 2>&1; then
|
||||
sudo pacman --needed -S sddm-runit
|
||||
info "sddm-runit installed. As additional pkg."
|
||||
fi
|
||||
|
||||
if [ ! -d "$sv/sddm" ]; then
|
||||
error "$sv/sddm not found - is sddm-runit (or equivalent) installed?"
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user