From 6edba82e9f5b807d8d5aecc4139a64a211cb1b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 28 Dec 2014 15:13:12 +0100 Subject: Debian bug #773826 --- debian/sane-utils.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/sane-utils.postinst') 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 -- cgit v1.2.3