Browse Source

Minor linter fixes

pull/76/head
Jimmy Monin 8 years ago
parent
commit
eb040b3780
  1. 9
      scripts/backup
  2. 7
      scripts/restore

9
scripts/backup

@ -21,6 +21,13 @@ fi
source _common.sh source _common.sh
source /usr/share/yunohost/helpers 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 # LOAD SETTINGS
#================================================= #=================================================
@ -82,5 +89,5 @@ if [ -z $backup_core_only ]
then then
ynh_backup "/home/yunohost.app/${app}/data" ynh_backup "/home/yunohost.app/${app}/data"
else 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 fi

7
scripts/restore

@ -21,6 +21,13 @@ fi
source _common.sh source _common.sh
source /usr/share/yunohost/helpers 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 # LOAD SETTINGS
#================================================= #=================================================

Loading…
Cancel
Save