[SCM] BOINC packaging branch, master, updated. debian/6.10.17+dfsg-3-414-geec4d18
Steffen Moeller
moeller at debian.org
Wed Mar 14 22:37:42 UTC 2012
The following commit has been merged in the master branch:
commit 3ef3e6656b5fd4d9d1b9a2adcd54411bf237d07a
Author: Steffen Moeller <moeller at debian.org>
Date: Sun Mar 4 17:04:56 2012 +0100
Removing /var/lib/boinc-client by default.
diff --git a/debian/boinc-client.postrm b/debian/boinc-client.postrm
index e7d3b5c..61be622 100644
--- a/debian/boinc-client.postrm
+++ b/debian/boinc-client.postrm
@@ -39,7 +39,11 @@ case "$1" in
db_go || true
db_get boinc-client/remove_boinc_dir || true
if [ "$RET" = "true" ]; then
- rm_boinc_dir
+ if [ "/var/lib/boinc-client" = "$BOINC_DIR" ]; then
+ rm_boinc_dir
+ else
+ echo "BOINC_DIR ($BOINC_DIR) is not '/var/lib/boinc-client', decided against recursively removing it. You customize it, you clean it."
+ fi
fi
;;
diff --git a/debian/boinc-client.templates b/debian/boinc-client.templates
index 7c5170e..328fe4d 100644
--- a/debian/boinc-client.templates
+++ b/debian/boinc-client.templates
@@ -1,6 +1,6 @@
Template: boinc-client/remove_boinc_dir
Type: boolean
-Default: false
+Default: true
# HINT: The wording of this template is similar to the wording of the
# dbconfig-common/purge template. Please have a look at the translation for
# the dbconfig-common/purge template first before translating this template,
diff --git a/debian/changelog b/debian/changelog
index d3851f7..dfcff0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ boinc (7.0.19+dfsg-1) unstable; urgency=low
* New upstream version.
* Added dependency on schedtools for boinc-client.
+ * Removing /var/lib/boinc-client upon purge (Closes: #656464).
-- Steffen Moeller <moeller at debian.org> Sat, 03 Mar 2012 01:19:45 +0100
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list