diff --git a/scripts/install b/scripts/install index 68c5b1b..4f993bd 100755 --- a/scripts/install +++ b/scripts/install @@ -183,7 +183,7 @@ mkdir -p /var/log/$app ynh_use_logrotate #================================================= -# PRINT INFORMATIONS +# PRINT INFORMATION #================================================= Informations="To add recipients or to modify the files or apps to backup, @@ -209,9 +209,9 @@ message="${encrypt_message}Archivist is going to run $run_freq. If you want to change the frequency, have a look to the file /etc/cron.d/$app. $Informations -Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more informations. +Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more information. -If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh" +If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh" ynh_send_readme_to_admin --app_message="$message" --recipients="root" ynh_print_ON diff --git a/scripts/restore b/scripts/restore index 755f264..df87196 100755 --- a/scripts/restore +++ b/scripts/restore @@ -64,7 +64,7 @@ echo "encfs encfs/security-information boolean true" | debconf-set-selections ynh_install_app_dependencies $app_depencencies #================================================= -# RESTORE LOGROTATE +# RESTORE THE LOGROTATE CONFIGURATION #================================================= mkdir -p /var/log/$app @@ -89,8 +89,8 @@ mkdir -p "/home/yunohost.app/${app}/backup" message="If you want to change the frequency of Archivist, have a look to the file /etc/cron.d/$app. The configuration file of Archivist has been restored at $final_path/Backup_list.conf -Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more informations. +Please read the documentation (https://github.com/maniackcrudelis/archivist/blob/master/Configuration.md) about the configuration of archivist for more information. -If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh" +If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/archivist_ynh" ynh_send_readme_to_admin --app_message="$message" --recipients="root" diff --git a/scripts/upgrade b/scripts/upgrade index 63ce4cb..75877cc 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,13 +11,6 @@ source /usr/share/yunohost/helpers # Load common variables for all scripts. source _variables -#================================================= -# MANAGE SCRIPT FAILURE -#================================================= - -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors - #================================================= # LOAD SETTINGS #================================================= @@ -156,5 +149,5 @@ ynh_use_logrotate --non-append # SECURE FILES AND DIRECTORIES #================================================= -# Set right permissions for curl installation +# Set permissions on app files chown -R root: $final_path