Changeset 2782 for trunk/packages
- Timestamp:
- Dec 24, 2009, 7:10:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/invirt-database-server.postinst
r2781 r2782 29 29 case "$1" in 30 30 configure) 31 echo "$2"32 31 #Don't create users on upgrade 33 32 if [ -z "$2" ]; then … … 38 37 39 38 # The invirt user *must* exist 40 if [ -z `getent passwd invirt` ]; then39 if ! getent passwd invirt >/dev/null 2>&1; then 41 40 adduser --system invirt 42 41 fi
Note: See TracChangeset
for help on using the changeset viewer.