кейс многоярусного пакета

This commit is contained in:
2025-05-30 15:35:16 +03:00
parent c1b1b560a8
commit 67cffd400b
5 changed files with 183 additions and 0 deletions

14
openrazer/postinstall.sh Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/bash
getent group plugdev >/dev/null || groupadd -r plugdev
cat << EOF
The daemon requires you add the user to the \`plugdev\` group:
# gpasswd -a \$USER plugdev
Enable the OpenRazer daemon systemd service:
\$ systemctl --user enable openrazer-daemon.service
Reboot for changes to take effect.
EOF