gmyth-stream/server/debian/gms.postrm
author morphbr
Wed Aug 29 14:42:10 2007 +0100 (2007-08-29)
branchtrunk
changeset 832 daa61fffb811
parent 815 gmyth-stream/server/0.3/debian/gms.postrm@7f290a3a34b1
permissions -rw-r--r--
[svn r838] - Arranged code in a better way
renatofilho@815
     1
#!/bin/sh
renatofilho@815
     2
renatofilho@815
     3
set -e
renatofilho@815
     4
renatofilho@815
     5
#DEBHELPER#
renatofilho@815
     6
renatofilho@815
     7
if [ "$1" = "purge" ] ; then
renatofilho@815
     8
        invoke-rc.d --force gms stop
renatofilho@815
     9
        deluser --quiet --system gms > /dev/null || true
renatofilho@815
    10
        delgroup --quiet --system gms > /dev/null || true
renatofilho@815
    11
fi
renatofilho@815
    12
renatofilho@815
    13
exit 0