mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-11-08 05:10:16 +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:
1 parent
d3b6cbbddd
commit
8fb1c72df5
1 file changed
+5
@@ -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