[svn r918] moved debian dir from gst-gmyth and libgnomevfs2-mythtv to packages project
2 # postinst script for gms
8 if ! getent passwd gms >/dev/null; then
9 adduser --disabled-password --quiet --system \
10 --home /var/gms-media \
11 --gecos "GMS media dir" --group gms
13 if ! getent passwd gms | grep -q /var/run/gms; then
14 usermod -d /var/gms-media gms
16 update-rc.d gmsd defaults
17 invoke-rc.d gmsd start
19 abort-upgrade|abort-remove|abort-deconfigure)
22 echo "postinst called with unknown argument \`$1'" >&2