#!/bin/bash set -e # on purge delete tcos server daemon case "$1" in purge|remove) rm -rf /var/lib/tcos/standalone-server/ ;; esac service tcos stop >/dev/null || true #DEBHELPER# if [ "$1" = "remove" ] ; then update-rc.d -f tcos remove >/dev/null || exit $? fi