mirror of
https://github.com/YunoHost-Apps/kiwix_ynh.git
synced 2024-09-03 19:35:56 +02:00
Update config: fix config panel for bookworm?
This commit is contained in:
parent
5d8bcea4a2
commit
fee90cce34
1 changed files with 6 additions and 0 deletions
|
@ -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}')"
|
||||
|
|
Loading…
Reference in a new issue