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 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 } 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) 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" 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