Mercurial > hg > quicktun
view debian/static/DEBIAN/postinst @ 27:5ba185ca7102
Fixed error checking during initialization, restructured code a bit to make it even simpler
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sat, 09 Apr 2011 17:36:48 +0200 |
parents | 640f620a55cf |
children |
line wrap: on
line source
#!/bin/sh if [ "$1" = "configure" ]; then if ! getent passwd quicktun >/dev/null; then /usr/sbin/useradd -d /nonexistent -N -r -s /bin/false -g nogroup quicktun fi fi