From fee90cce34b3792c3871064634ccb71586bb1d3e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Mon, 13 May 2024 17:08:11 +0200 Subject: [PATCH] Update config: fix config panel for bookworm? --- scripts/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/config b/scripts/config index 26a4c5e..3777b69 100644 --- a/scripts/config +++ b/scripts/config @@ -2,6 +2,12 @@ source /usr/share/yunohost/helpers ynh_abort_if_errors +function get__upload_url() { + # Gotta have this to prevent the infamous "Config panel question should be initialized with a value during install or upgrade." + # (at least on bookworm which is has tighter consistency etc) + echo "" +} + function run__upload_button() { local data_dir=$(ynh_app_setting_get --app=$app --key=data_dir) local filename="$(echo "$upload_url" | awk -F/ '{print $NF}')"