diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-24 07:34:54 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-24 07:34:54 +0100 |
commit | 4702f9548612bf7a82d0e0195c0b6428f1c4553a (patch) | |
tree | 48b54593c66d285d35b9dbc7d1ca11f4da34d356 /debian/sane-utils.postinst | |
parent | 757ec55bee507c8bb2523302a08fd74d16540a83 (diff) | |
parent | 425490576efeef5d57889a5a7f4accaee9afdcd7 (diff) |
Merge branch 'release/debian/1.1.1-3'debian/1.1.1-3
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 |