Browse Source

Remove ynh_script_progression

pull/60/head
ericgaspar 5 years ago
parent
commit
51e8bbcfcd
No known key found for this signature in database GPG Key ID: 574F281483054D44
  1. 6
      scripts/backup

6
scripts/backup

@ -19,7 +19,7 @@ ynh_abort_if_errors
#=================================================
# LOAD SETTINGS
#=================================================
ynh_script_progression --message="Loading installation settings..."
ynh_print_info --message="Loading installation settings..."
app=$YNH_APP_INSTANCE_NAME
@ -59,7 +59,7 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
if [ $with_mysql -eq 1 ]
then
ynh_script_progression --message="Backing up the MySQL database..."
ynh_print_info --message="Backing up the MySQL database..."
ynh_mysql_dump_db --database="$db_name" > db.sql
fi
@ -69,7 +69,7 @@ fi
if [ $with_sftp -eq 1 ]
then
ynh_script_progression --message="Backup specific files..."
ynh_print_info --message="Backup specific files..."
ynh_backup "/usr/share/yunohost/hooks/conf_regen/90-ssh_$app"
fi

Loading…
Cancel
Save