diff -r ea19ac6f452e -r d2d226b5a4bd gmyth-stream/server/debian/gms.postinst --- a/gmyth-stream/server/debian/gms.postinst Fri Feb 01 13:38:20 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -#! /bin/sh -# postinst script for gms - -set -e - -case "$1" in - configure) - if ! getent passwd gms >/dev/null; then - adduser --disabled-password --quiet --system \ - --home /var/gms-media \ - --gecos "GMS media dir" --group gms - fi - if ! getent passwd gms | grep -q /var/run/gms; then - usermod -d /var/gms-media gms - fi - update-rc.d gmsd defaults - invoke-rc.d gmsd start - ;; - abort-upgrade|abort-remove|abort-deconfigure) - ;; - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0