debian: make sure the plugdev group exists after installation
This commit is contained in:
parent
bb52c13f9a
commit
f31632c8c8
|
@ -13,7 +13,7 @@ Vcs-browser: http://github.com/pwr/Solaar
|
||||||
|
|
||||||
Package: solaar
|
Package: solaar
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, ${python:Depends}, udev, python-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4)
|
Depends: ${misc:Depends}, ${python:Depends}, python-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4), adduser, udev
|
||||||
Suggests: gir1.2-notify-0.7
|
Suggests: gir1.2-notify-0.7
|
||||||
Description: Logitech Unifying Receiver peripherals manager for Linux
|
Description: Logitech Unifying Receiver peripherals manager for Linux
|
||||||
Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.
|
Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# creating plugdev group if he isn't already there
|
||||||
|
if ! getent group plugdev >/dev/null; then
|
||||||
|
addgroup --system plugdev
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
Loading…
Reference in New Issue