tvheadend/debian/tvheadend.postrm
Andreas Öman c021dad967 Rename debian package hts-tvheadend -> tvheadend
Fix the rules file to be more standardized (thanks Lars Op den Kamp) Ticket #316
2011-02-19 12:59:36 +01:00

14 lines
225 B
Bash

#!/bin/sh -e
HTS_USER=hts
case "$1" in
purge)
if getent passwd $HTS_USER >/dev/null; then
HTS_HOME=`getent passwd $HTS_USER | cut -d':' -f6`
rm -rf "${HTS_HOME}/.hts/tvheadend"
fi
;;
esac
exit 0