/usr/share/debhelper/autoscripts/postinst-moveconffile is in debhelper 9.20131227ubuntu1.
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 | if [ "$1" = configure ]; then
if [ -e "#OLD#" ]; then
echo "Preserving user changes to #NEW# ..."
if [ -e "#NEW#" ]; then
mv -f "#NEW#" "#NEW#.dpkg-new"
fi
mv -f "#OLD#" "#NEW#"
fi
fi
|