use passwd | addgroup in post-install

This commit is contained in:
Daniel Pavel 2013-05-22 06:55:59 +03:00
parent 4ba50267f1
commit cd33314d0b
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ Vcs-browser: http://github.com/pwr/Solaar
Package: solaar Package: solaar
Architecture: all 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), ${python:Depends}, python-pyudev (>= 0.13), python-gi (>= 3.2), gir1.2-gtk-3.0 (>= 3.4),
${DesktopIconTheme} ${DesktopIconTheme}
Recommends: gir1.2-notify-0.7 Recommends: gir1.2-notify-0.7

View File

@ -4,9 +4,9 @@ set -e
# shamelessly copied from usbmuxd.postinst # 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 if ! getent group plugdev >/dev/null; then
addgroup --system plugdev groupadd --system --force plugdev || addgroup --system plugdev
fi fi
#DEBHELPER# #DEBHELPER#