projects
/
contrib
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0112a
)
Silencing error output.
author
Chris Sharp
<csharp@georgialibraries.org>
Wed, 13 Apr 2016 12:33:53 +0000
(08:33 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Wed, 13 Apr 2016 12:33:53 +0000
(08:33 -0400)
install-eg/install_eg.sh
patch
|
blob
|
history
diff --git
a/install-eg/install_eg.sh
b/install-eg/install_eg.sh
index
09b1667
..
3a243bb
100755
(executable)
--- a/
install-eg/install_eg.sh
+++ b/
install-eg/install_eg.sh
@@
-45,7
+45,7
@@
PG_PASS_STRING="$EG_DB_HOST:$EG_DB_PORT:$EG_DB_NAME:$EG_DB_USER:$EG_DB_PASSWORD"
SetupOS () {
$APT_TOOL update && $APT_TOOL install $DEBS
-if [ $(id -u $OSRF_USER > /dev/null) ]; then
+if [ $(id -u $OSRF_USER > /dev/null
2>&1
) ]; then
echo "OpenSRF user $OSRF_USER exists. Skipping..."
else
useradd -m -s /bin/bash $OSRF_USER