Mercurial > hg > thermostat-ng > agent
changeset 1758:0097e0b0aa85
setup script should not fail if web.auth is missing
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-June/014102.html
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 17 Jun 2015 13:49:27 -0400 |
parents | 19f6f5ec0910 |
children | a1692c9ccfe8 |
files | distribution/scripts/thermostat-setup |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/distribution/scripts/thermostat-setup Tue Jun 16 11:52:41 2015 -0400 +++ b/distribution/scripts/thermostat-setup Wed Jun 17 13:49:27 2015 -0400 @@ -186,11 +186,6 @@ setupMongodbUser TH_WEB_AUTH="$THERMOSTAT_HOME/etc/web.auth" - if [ ! -e $TH_WEB_AUTH ]; then - echo "File not found: $TH_WEB_AUTH" 1>&2 - exitFail - fi - if [ ! -w $TH_WEB_AUTH ]; then echo -e "\n\n$(readlink -f $TH_WEB_AUTH) is NOT writable." mkdir -p "$USER_THERMOSTAT_HOME/etc/"