summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-21 08:27:55 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-21 08:27:55 +0200
commit5ef64880f0b266d709b0da6807a461b04ff575ea (patch)
tree021b0bfc872a1fd7a559963d67bac80638cd77b2 /debian
parent1e0f28faf5fbdd67c6600b9448ac112127dc6788 (diff)
Debian bug #785709
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog9
-rw-r--r--debian/sane-utils.postinst6
2 files changed, 11 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 9a38a3b..bc1379d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sane-backends (1.0.24-12) UNRELEASED; urgency=medium
+
+ * debian/sane-utils.postinst:
+ - Fix home directory move (Closes: #785709).
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Thu, 21 May 2015 08:25:53 +0200
+
sane-backends (1.0.24-11) unstable; urgency=medium
* debian/control:
@@ -5,7 +12,7 @@ sane-backends (1.0.24-11) unstable; urgency=medium
dpkg needs to be installed for the rm_conffile command to work
(Closes: #784763).
* debian/libsane-common.preinst:
- - Fix syntax for calling dpkg-maintscript-helper.
+ - Fix syntax for calling dpkg-maintscript-helper.
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 08 May 2015 22:02:11 +0200
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index f3e5f2d..155ed22 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -50,10 +50,10 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
adduser --home /var/lib/saned --quiet --system --no-create-home --group saned || true
fi
- # Move home from /home/saned to /var/lib/saned
- if getent passwd | grep -q "^saned:" | grep -q "/home/saned"; then
+ # 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 -q "saned" | grep -q "scanbd"; then
+ 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"