diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:53:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:53:53 +0000 |
commit | 90169463f86997737ed5b9c0ea2b311cd3b056b7 (patch) | |
tree | 281a0f8d9850ea58cf2a3ddb8bf087fb52520925 /autoscripts/postrm-ucf | |
parent | Initial commit. (diff) | |
download | debhelper-90169463f86997737ed5b9c0ea2b311cd3b056b7.tar.xz debhelper-90169463f86997737ed5b9c0ea2b311cd3b056b7.zip |
Adding upstream version 13.15.3.upstream/13.15.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 0000000..ff2f32c --- /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 "`command -v ucf`" ]; then + ucf --purge "#UCFDEST#" + fi + if [ -x "`command -v ucfr`" ]; then + ucfr --purge #PACKAGE# "#UCFDEST#" + fi +fi |