1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Minor linter fixes

This commit is contained in:
Jimmy Monin 2017-12-04 21:36:42 +01:00
parent 0938148aac
commit eb040b3780
2 changed files with 15 additions and 1 deletions

View file

@ -21,6 +21,13 @@ fi
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
#=================================================
# LOAD SETTINGS
#=================================================
@ -82,5 +89,5 @@ if [ -z $backup_core_only ]
then
ynh_backup "/home/yunohost.app/${app}/data"
else
echo "Data dir will not saved, because backup_core_only is set." >&2
echo "Data dir will not be saved, because backup_core_only is set." >&2
fi

View file

@ -21,6 +21,13 @@ fi
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
#=================================================
# LOAD SETTINGS
#=================================================