From d0cafcf4a048bfcc72d9523d20d61ba719e566cd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 11 Nov 2011 00:02:53 +0400 Subject: add debianization scripts based on work by Florent USSEIL --- debian/tt-rss-common.postrm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/tt-rss-common.postrm (limited to 'debian/tt-rss-common.postrm') diff --git a/debian/tt-rss-common.postrm b/debian/tt-rss-common.postrm new file mode 100644 index 000000000..c91674def --- /dev/null +++ b/debian/tt-rss-common.postrm @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +# source debconf stuff +if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule +fi + + +if [ "$1" = "purge" ]; then + rm -rf /usr/share/tt-rss/www/icons + rm -rf /var/lock/tt-rss + rm -rf /var/cache/tt-rss +fi + +exit 0 +#DEBHELPER# -- cgit v1.2.3