debian: make sure the plugdev group exists after installation

This commit is contained in:
Daniel Pavel 2013-01-07 22:09:43 +02:00
parent bb52c13f9a
commit f31632c8c8
2 changed files with 11 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Vcs-browser: http://github.com/pwr/Solaar
Package: solaar
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
Description: Logitech Unifying Receiver peripherals manager for Linux
Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.

View File

@ -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#