#!/bin/sh
set -e

if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
    # Source debconf library.
    . /usr/share/debconf/confmodule
    # Remove my changes to the db.
    db_purge
    # Remove config file
    rm -f /etc/tunapie.config
fi
#DEBHELPER#
