summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2017-01-22 02:03:31 +0100
committerAndreas Beckmann <anbe@debian.org>2017-01-22 02:03:31 +0100
commitc2d491828a2940d92f3ae836c4fa22459623cecf (patch)
treec53a3c9825446002ee9cc69fde11e310b2253c27 /debian
parent86821d6f5ec22e9d74b9eda9f11b53ccd7c49f1b (diff)
check for ucf availability before calling it during postrm purge
Diffstat (limited to 'debian')
-rw-r--r--debian/boxbackup-client.postrm4
-rw-r--r--debian/boxbackup-server.postrm4
-rw-r--r--debian/changelog8
3 files changed, 14 insertions, 2 deletions
diff --git a/debian/boxbackup-client.postrm b/debian/boxbackup-client.postrm
index 07ec26b4..3103c4ce 100644
--- a/debian/boxbackup-client.postrm
+++ b/debian/boxbackup-client.postrm
@@ -22,7 +22,9 @@ case "$1" in
if [ -e $i ]; then
rm -f $i
fi
- ucf -p $i
+ if which ucf >/dev/null; then
+ ucf -p $i
+ fi
done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
diff --git a/debian/boxbackup-server.postrm b/debian/boxbackup-server.postrm
index ad624c69..f3103e68 100644
--- a/debian/boxbackup-server.postrm
+++ b/debian/boxbackup-server.postrm
@@ -22,7 +22,9 @@ case "$1" in
if [ -e $i ]; then
rm -f $i
fi
- ucf -p $i
+ if which ucf >/dev/null; then
+ ucf -p $i
+ fi
done
dpkg-statoverride --remove /etc/boxbackup/bbstored || true
diff --git a/debian/changelog b/debian/changelog
index 546c6c4f..4ae7b412 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+boxbackup (0.11.1~r2837-4) UNRELEASED; urgency=medium
+
+ * QA upload.
+ * Check for ucf availability before calling it during postrm purge.
+ (Closes: #688373)
+
+ -- Andreas Beckmann <anbe@debian.org> Sun, 22 Jan 2017 01:58:04 +0100
+
boxbackup (0.11.1~r2837-3) unstable; urgency=medium
* QA upload.