Whamcloud - gitweb
debian: parse /etc/adduser.conf file manually
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jun 2008 15:57:54 +0000 (11:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jun 2008 15:57:54 +0000 (11:57 -0400)
commit5882a3cbfa7370f92d4dbf3cd64de78529194252
tree2b340075bd62d8c9afb8e1a24218d31922632400
parentedf261f6f859ed0ff3c16803ab61a78373089ad8
debian: parse /etc/adduser.conf file manually

The syntax for /etc/adduser.conf allows spaces around the equals sign,
i.e.:

GROUPHOMES = no

We were previously asking /bin/sh to source the file, which doesn't
support the above syntax.  So pull out the necessary fields via
sed/grep.

Thanks to Juan A. Diaz for reporting the bug and suggesting the fix.

Addresses-Debian-Bug: #487443

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/libuuid1.postinst