diff --git a/scripts/remove b/scripts/remove index 19490c0..6b41a63 100755 --- a/scripts/remove +++ b/scripts/remove @@ -14,6 +14,7 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= +ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status smbd >/dev/null diff --git a/scripts/restore b/scripts/restore index ff2aac6..9fed8d5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -6,10 +6,11 @@ # IMPORT GENERIC HELPERS #================================================= -# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers +password=$(ynh_app_setting_get --app=$app --key=password) + #================================================= # RESTORE THE DATA DIRECTORY #=================================================