From 7a6d04b4f1f7c8f88a4e9b48bf24b29600cf4012 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 26 Feb 2024 09:09:27 +0100 Subject: [PATCH] Fix collector --- manifest.toml | 4 ++-- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index cd23205..27d3693 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,7 +4,7 @@ id = "scrutiny" name = "Scrutiny" description.en = "WebUI for smartd S.M.A.R.T monitoring" -version = "0.7.3~ynh1" +version = "0.7.3~ynh2" maintainers = ["ewilly"] @@ -52,7 +52,7 @@ ram.runtime = "50M" autoupdate.asset.amd64 = "^scrutiny-web-linux-amd64$" autoupdate.asset.arm64 = "^scrutiny-web-linux-arm64$" - [resources.sources.scrutiny-collector-metrics] + [resources.sources.scrutiny-collector-metrics-linux] in_subdir = false amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-collector-metrics-linux-amd64" amd64.sha256 = "5dff7bc924a4003ae4e9d7c38832d87a931df74aec80b29dba929c18f2643f1b" diff --git a/scripts/install b/scripts/install index 04a43e9..c5cda67 100755 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 mkdir -p "$install_dir/bin" ynh_setup_source --source_id="scrutiny-web-linux" --dest_dir="$install_dir/bin" -ynh_setup_source --source_id="scrutiny-collector-metrics" --dest_dir="$install_dir/bin" +ynh_setup_source --source_id="scrutiny-collector-metrics-linux" --dest_dir="$install_dir/bin" mkdir -p "$install_dir/web" ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web" diff --git a/scripts/upgrade b/scripts/upgrade index 80c5f44..2492ee8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -44,7 +44,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --source_id="scrutiny-web-linux" --dest_dir="$install_dir/bin" - ynh_setup_source --source_id="scrutiny-collector-metrics" --dest_dir="$install_dir/bin" + ynh_setup_source --source_id="scrutiny-collector-metrics-linux" --dest_dir="$install_dir/bin" ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web" fi