File: postrm

package info (click to toggle)
xfstt 1.7-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,972 kB
  • ctags: 1,556
  • sloc: cpp: 8,458; sh: 4,250; makefile: 112; sed: 16
file content (17 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e

if [ "$1" = purge ] && [ -d /var/cache/xfstt ]; then
	echo " Removing xfstt cache files."
	rm -rf /var/cache/xfstt 2>/dev/null || true
fi

if [ "$1" = purge ] && [ -e /etc/default/xfstt ]; then
	echo " Removing xfstt config files."
	rm -f /etc/default/xfstt 2>/dev/null || true
fi

#DEBHELPER#

exit 0