using new helpers and script formatting

This commit is contained in:
Keoma Brun
2018-05-04 00:33:01 +02:00
parent b16eb19a34
commit 7cbd23c1ec
8 changed files with 316 additions and 177 deletions

View File

@@ -2,4 +2,18 @@
# nothing to do...
exit 0
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors