diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-21 07:20:55 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-21 07:20:55 +0100 |
commit | 632c82ef43ac91f21304e3374b5231bd7da78410 (patch) | |
tree | 92c869b4f84c8b5b6339a544297278303bff317f /debian/sane-utils.postinst | |
parent | f66f0495d579a693bdabca232fcccc8aecc54d9b (diff) |
d/sane-utils.postinst: Remove not longer requested home directory move
Diffstat (limited to 'debian/sane-utils.postinst')
-rw-r--r-- | debian/sane-utils.postinst | 16 |
1 files changed, 0 insertions, 16 deletions
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 |