From 529d4beb3cab4b5743d2c44e67a9567cfb65fb5a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 5 Aug 2021 23:37:04 +0200 Subject: [PATCH] Fix --- conf/{vikunja.src => api.src} | 0 scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename conf/{vikunja.src => api.src} (100%) diff --git a/conf/vikunja.src b/conf/api.src similarity index 100% rename from conf/vikunja.src rename to conf/api.src diff --git a/scripts/install b/scripts/install index c7239c8..4783f40 100644 --- a/scripts/install +++ b/scripts/install @@ -114,7 +114,7 @@ ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/confi ynh_script_progression --message="Installing backend..." --weight=15 tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=vikunja +ynh_setup_source --dest_dir=$tempdir --source_id=api ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb chmod +x /opt/vikunja/vikunja diff --git a/scripts/upgrade b/scripts/upgrade index 189c788..609771e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -86,7 +86,7 @@ then ynh_script_progression --message="Installing backend..." --weight=5 tempdir="$(mktemp -d)" - ynh_setup_source --dest_dir=$tempdir --source_id=vikunja + ynh_setup_source --dest_dir=$tempdir --source_id=api ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb ynh_script_progression --message="Upgrading source files..." --weight=5