From f769cddffe00a8a7457ab3b531ee375aac266ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 19 Jan 2024 19:40:07 +0100 Subject: [PATCH] Save password --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 1882bc8..f3e2b19 100755 --- a/scripts/install +++ b/scripts/install @@ -11,6 +11,13 @@ source /usr/share/yunohost/helpers path="/" +#================================================= +# INITIALIZE AND STORE SETTINGS +#================================================= + +# Password are not saved by default, but here required for upgrade +ynh_app_setting_set --app="$app" --key=password --value="$password" + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================