diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-28 09:02:59 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-28 09:02:59 +0200 |
commit | cb7cc50e39b087c75e1886608d548104d007fe16 (patch) | |
tree | 37a1d47e1acbd8c9b86acf69b962ffcb4ad137fe /debian/sane-utils.postinst | |
parent | f6019e643b0d510d267344a0a74f85f4c0a9187c (diff) |
Some work on version git20150528; add patch 0105-fuj-126a.patch for testing
Diffstat (limited to 'debian/sane-utils.postinst')
-rw-r--r-- | debian/sane-utils.postinst | 6 |
1 files changed, 3 insertions, 3 deletions
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" |