diff --git a/README.md b/README.md index e71113c..a9b5bd6 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ $ RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails c $ UserEmail.create!(user: User.find_by_username("foo"), email: "foo@theirexternalmail.com") ``` -Discourse can now receive mail from `foo@theirexternalmail.com` and give it to the user account with mail address `foo@myyunohostdomain.org`. +Discourse can now receive email from `foo@theirexternalmail.com` and give it to the user account with mail address `foo@myyunohostdomain.org`. #### Multi-user support @@ -77,7 +77,6 @@ When disabling Local Login and other authentication services, clicking the `Logi ![LDAP Login Popup](https://raw.githubusercontent.com/jonmbake/screenshots/master/discourse-ldap-auth/ldap_popup.png) - ## Documentation and resources * Official app website: http://Discourse.org diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 08c94c4..5ac5325 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -30,7 +30,7 @@ $ RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails c $ UserEmail.create!(user: User.find_by_username("foo"), email: "foo@theirexternalmail.com") ``` -Discourse can now receive mail from `foo@theirexternalmail.com` and give it to the user account with mail address `foo@myyunohostdomain.org`. +Discourse can now receive email from `foo@theirexternalmail.com` and give it to the user account with mail address `foo@myyunohostdomain.org`. #### Multi-user support @@ -47,4 +47,3 @@ When disabling Local Login and other authentication services, clicking the `Logi ![Disable Local](https://raw.githubusercontent.com/jonmbake/screenshots/master/discourse-ldap-auth/disable_local.png) ![LDAP Login Popup](https://raw.githubusercontent.com/jonmbake/screenshots/master/discourse-ldap-auth/ldap_popup.png) - diff --git a/scripts/_common.sh b/scripts/_common.sh index e2c7ad6..f09bcca 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -270,11 +270,11 @@ ynh_install_ruby () { ynh_print_info --message="rbenv already seems installed in \`$rbenv'." pushd "${rbenv%/*/*}" if git remote -v 2>/dev/null | grep "https://github.com/rbenv/rbenv.git"; then - ynh_print_info --message="Trying to update with git..." + ynh_print_info --message="Trying to update with Git..." git pull -q --tags origin master ynh_ruby_try_bash_extension else - ynh_print_info --message="Reinstalling rbenv with git..." + ynh_print_info --message="Reinstalling rbenv with Git..." cd .. ynh_secure_remove --file=$rbenv_install_dir mkdir -p $rbenv_install_dir @@ -287,7 +287,7 @@ ynh_install_ruby () { fi popd else - ynh_print_info --message="Installing rbenv with git..." + ynh_print_info --message="Installing rbenv with Git..." mkdir -p $rbenv_install_dir pushd $rbenv_install_dir git init -q @@ -308,7 +308,7 @@ ynh_install_ruby () { fi popd else - ynh_print_info --message="Installing ruby-build with git..." + ynh_print_info --message="Installing ruby-build with Git..." mkdir -p "${rbenv_install_dir}/plugins" git clone -q https://github.com/rbenv/ruby-build.git "${rbenv_install_dir}/plugins/ruby-build" fi @@ -323,7 +323,7 @@ ynh_install_ruby () { fi popd else - ynh_print_info --message="Installing rbenv-aliases with git..." + ynh_print_info --message="Installing rbenv-aliases with Git..." mkdir -p "${rbenv_install_dir}/plugins" git clone -q https://github.com/tpope/rbenv-aliases.git "${rbenv_install_dir}/plugins/rbenv-aliase" fi @@ -338,7 +338,7 @@ ynh_install_ruby () { fi popd else - ynh_print_info --message="Installing xxenv-latest with git..." + ynh_print_info --message="Installing xxenv-latest with Git..." mkdir -p "${rbenv_install_dir}/plugins" git clone -q https://github.com/momo-lab/xxenv-latest.git "${rbenv_install_dir}/plugins/xxenv-latest" fi @@ -380,10 +380,10 @@ ynh_install_ruby () { # Set environment for Ruby users echo "#rbenv -export RBENV_ROOT=$rbenv_install_dir -export PATH=\"$rbenv_install_dir/bin:$PATH\" -eval \"\$(rbenv init -)\" -#rbenv" > /etc/profile.d/rbenv.sh + export RBENV_ROOT=$rbenv_install_dir + export PATH=\"$rbenv_install_dir/bin:$PATH\" + eval \"\$(rbenv init -)\" + #rbenv" > /etc/profile.d/rbenv.sh # Load the environment eval "$(rbenv init -)" diff --git a/scripts/install b/scripts/install index f4c4ecb..fd3cb40 100644 --- a/scripts/install +++ b/scripts/install @@ -160,9 +160,9 @@ secret="$(ynh_string_random)" ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml" # Set permissions to app files -chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" +# chmod 750 "$final_path" +# chmod -R o-rwx "$final_path" +# chown -R $app:www-data "$final_path" pushd "$final_path" ynh_use_ruby