No return value check on gnusocial due to expected warnings

This commit is contained in:
Bob Mottram 2016-02-19 22:53:13 +00:00
parent 1a647c1a7a
commit 23d1dfbdbe
1 changed files with 6 additions and 5 deletions

View File

@ -8811,11 +8811,12 @@ function install_gnu_social {
--admin-pass="$MICROBLOG_ADMIN_PASSWORD" \ --admin-pass="$MICROBLOG_ADMIN_PASSWORD" \
--site-profile="community" \ --site-profile="community" \
--ssl=${gnu_social_ssl} --ssl=${gnu_social_ssl}
if [ ! "$?" = "0" ]; then # There can be a lot of warnings here so the return value check is disabled
# failed to install #if [ ! "$?" = "0" ]; then
echo $'Could not install GNU Social' # # failed to install
exit 72357 # echo $'Could not install GNU Social'
fi # exit 72357
#fi
# check microblog has a config file # check microblog has a config file
microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php