Changeset fc6457e


Ignore:
Timestamp:
2017-01-02T15:30:25Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
2d09041
Parents:
73e2b69
Message:

debian: ignore the stdout of deluser, fixes postrm error exit code

Turns out the stuff added by debhelper below enables debconf, which
somehow reads the stuff written to stdout before, and chokes on it.

The error output that is being ignored is something along the lines of
"the user doesn't exist".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/bitlbee-common.postrm

    r73e2b69 rfc6457e  
    55if [ "$1" = "purge" ]; then
    66        rm -f /etc/default/bitlbee
    7         deluser --system bitlbee || true
     7        deluser --system bitlbee > /dev/null || true
    88        rm -rf /var/lib/bitlbee ## deluser doesn't seem to do this for homedirs in /var
    99fi
Note: See TracChangeset for help on using the changeset viewer.