From f080684d5392d393fe52586a5dca4865742c9643 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:08:42 +0200 Subject: [PATCH 1/5] Fix typo in install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4245199..cd1d842 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ yunohost service add $app --description="A short description of the app" --log=" ### ### --needs_exposed_ports "$port" a list of ports that needs to be publicly exposed ### which will then be checked by YunoHost's diagnosis system -### (N.B. DO NOT USE THIS is the port is only internal!!!) +### (N.B. DO NOT USE THIS if the port is only internal!!!) ### ### --test_status "some command" a custom command to check the status of the service ### (only relevant if 'systemctl status' doesn't do a good job) From 91959234f095fa5f13dee5a22653243f12526a3d Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:13:50 +0200 Subject: [PATCH 2/5] Fix typos in upgrade --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a6b3f17..55e1829 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ upgrade_type=$(ynh_check_app_version_changed) #ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 # -# N.B. : the followings setting migrations snippets are provided as *EXAMPLES* +# N.B. : the following setting migration snippets are provided as *EXAMPLES* # of what you may want to do in some cases (e.g. a setting was not defined on # some legacy installs and you therefore want to initiaze stuff during upgrade) # @@ -77,7 +77,7 @@ then fi # $install_dir will automatically be initialized with some decent -# permission by default ... however, you may need to recursively reapply +# permissions by default ... however, you may need to recursively reapply # ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir" @@ -86,7 +86,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -# This should be a literal copypasta of what happened in the install's "System configuration" section +# This should be a literal copypaste of what happened in the install's "System configuration" section ynh_add_fpm_config From 5435af33b3be841f03af3a3f0593c1fe208866a1 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:21:17 +0200 Subject: [PATCH 3/5] Fix typos in backup --- scripts/backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 3d72f4c..010f6c5 100755 --- a/scripts/backup +++ b/scripts/backup @@ -17,8 +17,8 @@ ynh_print_info --message="Declaring files to be backed up..." ### N.B. : the following 'ynh_backup' calls are only a *declaration* of what needs ### to be backuped and not an actual copy of any file. The actual backup that -### creates and fill the archive with the files happens in the core after this -### script is called. Hence ynh_backups calls takes basically 0 seconds to run. +### creates and fills the archive with the files happens in the core after this +### script is called. Hence ynh_backups calls take basically 0 seconds to run. #================================================= # BACKUP THE APP MAIN DIR From acb1558af0497f7ccd84372f0f4d2ed710936efd Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:23:41 +0200 Subject: [PATCH 4/5] Fix typos in config --- scripts/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/config b/scripts/config index dca69fb..711fd16 100644 --- a/scripts/config +++ b/scripts/config @@ -68,7 +68,7 @@ get__prices() { #================================================= validate__publishable_key() { - # We can imagine here we test if the key is really a publisheable key + # We can imagine here we test if the key is really a publishable key (is_secret_key $publishable_key) && echo 'This key seems to be a secret key' } @@ -79,7 +79,7 @@ validate__publishable_key() { set__prices() { #--------------------------------------------- - # IMPORTANT: setter are trigger only if a change is detected + # IMPORTANT: setters are triggered only if a change is detected #--------------------------------------------- for price in $(echo $prices | sed "s/,/ /"); do frequency=$(echo $price | cut -d/ -f1) @@ -91,7 +91,7 @@ set__prices() { done #--------------------------------------------- - # IMPORTANT: to be able to upgrade properly, you have to saved the value in settings too + # IMPORTANT: to be able to upgrade properly, you have to save the value in settings too #--------------------------------------------- ynh_app_setting_set $app prices $prices } From 513c83cc11eb104ad366f371414431605e95beb3 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:25:03 +0200 Subject: [PATCH 5/5] Fix typo in restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 2bec09d..e60cb7a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" # $install_dir will automatically be initialized with some decent -# permission by default ... however, you may need to recursively reapply +# permissions by default ... however, you may need to recursively reapply # ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir"