Merge pull request #47 from YunoHost/add_comments

Add comments
This commit is contained in:
Maniack Crudelis
2018-07-30 09:58:07 +02:00
committed by GitHub
10 changed files with 221 additions and 69 deletions

View File

@@ -13,6 +13,10 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@@ -68,7 +72,7 @@ ynh_backup "/etc/logrotate.d/$app"
ynh_backup "/etc/systemd/system/$app.service"
#=================================================
# BACKUP THE CRON FILE
# BACKUP A CRON FILE
#=================================================
ynh_backup "/etc/cron.d/$app"