diff options
author | Joey Hess <joeyh@debian.org> | 2013-09-21 13:16:34 -0400 |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2013-09-21 13:16:34 -0400 |
commit | 775d1ca63964312b7f519edfe0cce476669617f6 (patch) | |
tree | 29834fd91c532ee93aec9dfe6e8f1fc4e19019f7 /autoscripts/postrm-ucf |
debhelper (9.20130921) unstable; urgency=low
* dh: Call dh_installxfonts after dh_link, so that it will
notice fonts installed via symlinks. Closes: #721264
* Fix FTBFS with perl 5.18. Closes: #722501
* dh_installchangelogs: Add changelog.md to the list of common
changelog filenames.
# imported from the archive
Diffstat (limited to 'autoscripts/postrm-ucf')
-rw-r--r-- | autoscripts/postrm-ucf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/autoscripts/postrm-ucf b/autoscripts/postrm-ucf new file mode 100644 index 00000000..da375726 --- /dev/null +++ b/autoscripts/postrm-ucf @@ -0,0 +1,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 |