Import package work effort from Nikolas Poniros <edhunter@sidux.com>.
[debian/lxdm.git] / debian / lxdm.postrm
1 #!/bin/sh
2 # Debian lxdm package post-removal script
3 # Copyright 2010 Nikolas Poniros <edhunter@sidux.com>
4 # Licensed under the GNU General Public License, version 2.  See the file
5 # /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
6
7
8 set -e
9
10 if [ "$1" = "purge" ]; then
11   for DIR in /etc/lxdm; do
12     if [ -d "$DIR" ]; then
13       rm -r "$DIR"
14     fi
15   done
16 fi
17
18 #DEBHELPER#
19
20 exit 0