Ignore:
Timestamp:
Dec 24, 2009, 7:10:32 PM (15 years ago)
Author:
gdb
Message:

Fixed style + debugging echo from r2781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/debian/invirt-database-server.postinst

    r2781 r2782  
    2929case "$1" in
    3030    configure)
    31         echo "$2"
    3231        #Don't create users on upgrade
    3332        if [ -z "$2" ]; then
     
    3837
    3938        # The invirt user *must* exist
    40         if [ -z `getent passwd invirt` ]; then
     39        if ! getent passwd invirt >/dev/null 2>&1; then
    4140            adduser --system invirt
    4241        fi
Note: See TracChangeset for help on using the changeset viewer.