author | Michael Krelin <hacker@klever.net> | 2011-10-10 21:21:36 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-10-12 19:58:30 (UTC) |
commit | e402d5619a9dd86e0f51fa39418f4db490ef1037 (patch) (unidiff) | |
tree | 69b9176d76d71b5f147c8a93830e1b6d66f3daa1 /debian/dudki.postrm | |
parent | 970337c91c02afa9b8d33ab5596270594ffe58e6 (diff) | |
download | dudki-master.zip dudki-master.tar.gz dudki-master.tar.bz2 |
Ubuntization to be precise.
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | debian/dudki.postrm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/dudki.postrm b/debian/dudki.postrm new file mode 100644 index 0000000..34413ba --- a/dev/null +++ b/debian/dudki.postrm | |||
@@ -0,0 +1,20 @@ | |||
1 | #!/bin/sh | ||
2 | set -e | ||
3 | |||
4 | if [ "$1" = "purge" ]; then | ||
5 | |||
6 | if which ucf >/dev/null; then | ||
7 | ucf --purge /etc/dudki.conf | ||
8 | fi | ||
9 | |||
10 | if which ucfr >/dev/null; then | ||
11 | ucfr --purge dudki /etc/dudki.conf | ||
12 | fi | ||
13 | |||
14 | rm -f /etc/dudki.conf /etc/dudki.conf.*ucf* | ||
15 | |||
16 | fi | ||
17 | |||
18 | #DEBHELPER# | ||
19 | |||
20 | exit 0 | ||