summaryrefslogtreecommitdiffabout
path: root/debian/dudki.postrm
blob: 34413baf06603087fa66266001590e68de24d5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -e

if [ "$1" = "purge" ]; then
    
    if which ucf >/dev/null; then
        ucf --purge /etc/dudki.conf
    fi
    
    if which ucfr >/dev/null; then
        ucfr --purge dudki /etc/dudki.conf
    fi
    
    rm -f /etc/dudki.conf /etc/dudki.conf.*ucf*
    
fi

#DEBHELPER#

exit 0