1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivist_ynh.git synced 2024-09-03 18:15:55 +02:00

English translation and typo

This commit is contained in:
Maniack Crudelis 2019-01-13 17:27:09 +01:00
parent 1c783c7376
commit f52393388a
3 changed files with 7 additions and 14 deletions

View file

@ -183,7 +183,7 @@ mkdir -p /var/log/$app
ynh_use_logrotate ynh_use_logrotate
#================================================= #=================================================
# PRINT INFORMATIONS # PRINT INFORMATION
#================================================= #=================================================
Informations="To add recipients or to modify the files or apps to backup, 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. If you want to change the frequency, have a look to the file /etc/cron.d/$app.
$Informations $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_send_readme_to_admin --app_message="$message" --recipients="root"
ynh_print_ON ynh_print_ON

View file

@ -64,7 +64,7 @@ echo "encfs encfs/security-information boolean true" | debconf-set-selections
ynh_install_app_dependencies $app_depencencies ynh_install_app_dependencies $app_depencencies
#================================================= #=================================================
# RESTORE LOGROTATE # RESTORE THE LOGROTATE CONFIGURATION
#================================================= #=================================================
mkdir -p /var/log/$app 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. 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 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" ynh_send_readme_to_admin --app_message="$message" --recipients="root"

View file

@ -11,13 +11,6 @@ source /usr/share/yunohost/helpers
# Load common variables for all scripts. # Load common variables for all scripts.
source _variables source _variables
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#================================================= #=================================================
# LOAD SETTINGS # LOAD SETTINGS
#================================================= #=================================================
@ -156,5 +149,5 @@ ynh_use_logrotate --non-append
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
# Set right permissions for curl installation # Set permissions on app files
chown -R root: $final_path chown -R root: $final_path