]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postrm-ucf
dh_ucf: Fix missing space before ']'s in postrm autoscript.
[debhelper.git] / autoscripts / postrm-ucf
1 if [ "$1" = "purge" ]; then
2         for ext in .ucf-new .ucf-old .ucf-dist ""; do
3                 rm -f #UCFDEST#$ext
4         done
5         
6         if [ -x `which ucf 2>/dev/null` ]; then
7                 ucf --purge #UCFDEST#
8         fi
9         if [ -x `which ucfr 2>/dev/null` ]; then
10                 ucfr --purge #PACKAGE# #UCFDEST#
11         fi
12 fi