~ubuntu-branches/ubuntu/raring/vsftpd/raring

« back to all changes in this revision

Viewing changes to debian/vsftpd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-07-20 05:55:34 UTC
  • mfrom: (2.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20090720055534-kerhcu3y5q115pf5
Tags: 2.2.0~pre4-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Use LSB functions in the init script.
  - Use snakeoil SSL certificates and key.
  - Do not create rc.d stop symlinks
  - Add update-inetd dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
                db_stop
18
18
 
19
 
                if ! getent passwd | grep -q ftp
 
19
                if ! getent passwd | grep -q "^${_USERNAME}"
20
20
                then
21
21
                        adduser --system --home ${_DIRECTORY} --no-create-home --quiet --gecos 'ftp daemon' --group ${_USERNAME}
22
22
                else