use passwd | addgroup in post-install
This commit is contained in:
parent
4ba50267f1
commit
cd33314d0b
|
@ -13,7 +13,7 @@ Vcs-browser: http://github.com/pwr/Solaar
|
|||
|
||||
Package: solaar
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, udev (>= 175), adduser,
|
||||
Depends: ${misc:Depends}, udev (>= 175), passwd | adduser,
|
||||
${python:Depends}, python-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4),
|
||||
${DesktopIconTheme}
|
||||
Recommends: gir1.2-notify-0.7
|
||||
|
|
|
@ -4,9 +4,9 @@ set -e
|
|||
|
||||
# shamelessly copied from usbmuxd.postinst
|
||||
|
||||
# creating plugdev group if he isn't already there
|
||||
# creating plugdev group if it's not already present on the system
|
||||
if ! getent group plugdev >/dev/null; then
|
||||
addgroup --system plugdev
|
||||
groupadd --system --force plugdev || addgroup --system plugdev
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
|
Loading…
Reference in New Issue