From 5683336771948e3391eb81d85cf877ed10259846 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Tue, 21 Aug 2018 07:27:01 +0200 Subject: [PATCH] Typos fix --- scripts/install | 6 +++--- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 10a5118..ff4d9a7 100644 --- a/scripts/install +++ b/scripts/install @@ -165,7 +165,7 @@ else pip uninstall -y msgpack-python msgpack; \ pip install msgpack-python) - # This fonction was defined while we call "source $final_path/bin/activate". By this fonction de undo what does "$final_path/bin/activate" + # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does deactivate fi @@ -182,10 +182,10 @@ test -e /etc/matrix-$app/dh.pem && mv /etc/matrix-$app/dh.pem $domain.tls.dh # Generate config and keys python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --generate-keys --server-name $domain --report-stats=no -c homeserver.yml -# This fonction was defined while we call "source $final_path/bin/activate". By this fonction de undo what does "$final_path/bin/activate" +# This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does deactivate -# Get randoms values from config +# Get random values from config registration_shared_secret=$(egrep "registration_shared_secret" homeserver.yml | cut -d'"' -f2) form_secret=$(egrep "form_secret" homeserver.yml | cut -d'"' -f2) diff --git a/scripts/upgrade b/scripts/upgrade index 515b7cb..208743e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ else pip uninstall -y msgpack-python msgpack; \ pip install msgpack-python) - # This fonction was defined while we call "source $final_path/bin/activate". By this fonction de undo what does "$final_path/bin/activate" + # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does deactivate fi @@ -134,10 +134,10 @@ then # Generate config and keys python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --generate-keys --server-name $domain --report-stats=no -c homeserver.yml - # This fonction was defined while we call "source $final_path/bin/activate". By this fonction de undo what does "$final_path/bin/activate" + # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does deactivate - # Get randoms values from config + # Get random values from config registration_shared_secret=$(egrep "registration_shared_secret" homeserver.yml | cut -d'"' -f2) form_secret=$(egrep "form_secret" homeserver.yml | cut -d'"' -f1)