summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/sane-utils.postinst16
2 files changed, 1 insertions, 16 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c5b4f8..0c48c28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sane-backends (1.1.1-3) UNRELEASED; urgency=medium
* Remove test artefact (debian/1.sh).
* debian/changelog: Fix spelling error (Closes: #1006116).
+ * debian/sane-utils.postinst: Remove not longer requested home directory move.
-- Jörg Frings-Fürst <debian@jff.email> Mon, 14 Feb 2022 21:28:17 +0100
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index 4d8e9b1..b026a6e 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -46,22 +46,6 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
adduser --home /var/lib/saned --quiet --system --group saned || true
fi
- # Move home from /home/saned to /var/lib/saned (since 1.0.24-6)
- if getent passwd | grep "^saned:" | grep -q "/home/saned"; then
- echo "Test for running scanbd"
- if ps -Af | grep "saned" | grep -q "scanbd"; then
- echo "Stop scanbd"
- invoke-rc.d --quiet scanbd stop
- echo "Move homedir from /home/saned to /var/lib/saned"
- usermod -d /var/lib/saned saned
- echo "Start scanbd"
- invoke-rc.d --quiet scanbd start
- else
- echo "Move homedir from /home/saned to /var/lib/saned"
- usermod -d /var/lib/saned saned
- fi
- fi
-
if [ ! -d /var/lib/saned ] ; then
usermod -d /var/lib/saned saned
fi