summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/sane-utils.postinst4
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index f14118b..db40fff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sane-backends (1.0.24-9) UNRELEASED; urgency=medium
+
+ * Correct typo and add missing "-q" to line 33 of
+ debian/sane-utils.postinst (Closes: #773826).
+ - Thanks to "Nelson A. de Oliveira" <naoliv@debian.org>
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 28 Dec 2014 10:50:14 +0100
+
sane-backends (1.0.24-8) unstable; urgency=medium
* New debian/patches/0100-usb3-corrections.patch:
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index 4f16f0a..c29b29c 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -30,8 +30,8 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
fi
# Move home from /home/saned to /var/lib/saned
- if getent passwd | grep "^saned:" | grep "/home/saned"; then
- echo "Moveing homedir from /home/saned to /var/lib/saned"
+ if getent passwd | grep -q "^saned:" | grep "/home/saned"; then
+ echo "Moving homedir from /home/saned to /var/lib/saned"
usermod -d /var/lib/saned saned
fi
if [ "$SANED_IN_SCANNER" = "true" ]; then