/usr/share/debhelper/autoscripts/postrm-ucf is in debhelper 9.20120115ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | if [ "$1" = "purge" ]; then
for ext in .ucf-new .ucf-old .ucf-dist ""; do
rm -f "#UCFDEST#$ext"
done
if [ -x "`which ucf 2>/dev/null`" ]; then
ucf --purge "#UCFDEST#"
fi
if [ -x "`which ucfr 2>/dev/null`" ]; then
ucfr --purge #PACKAGE# "#UCFDEST#"
fi
fi
|