projects
/
invirt/packages/invirt-database.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8c774
)
Fixed style + debugging echo from r2781
author
Greg Brockman
<gdb@mit.edu>
Fri, 25 Dec 2009 00:10:32 +0000
(19:10 -0500)
committer
Greg Brockman
<gdb@mit.edu>
Fri, 25 Dec 2009 00:10:32 +0000
(19:10 -0500)
svn path=/trunk/packages/invirt-database/; revision=2782
debian/invirt-database-server.postinst
patch
|
blob
|
history
diff --git
a/debian/invirt-database-server.postinst
b/debian/invirt-database-server.postinst
index
86bc5d8
..
f5cd5a9
100644
(file)
--- a/
debian/invirt-database-server.postinst
+++ b/
debian/invirt-database-server.postinst
@@
-28,7
+28,6
@@
set -e
case "$1" in
configure)
- echo "$2"
#Don't create users on upgrade
if [ -z "$2" ]; then
# Don't fail if the user/database already exists
@@
-37,7
+36,7
@@
case "$1" in
fi
# The invirt user *must* exist
- if [ -z `getent passwd invirt` ]; then
+ if ! getent passwd invirt >/dev/null 2>&1; then
adduser --system invirt
fi
invoke-rc.d postgresql-8.3 restart