1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrutiny_ynh.git synced 2024-09-03 20:16:24 +02:00

Fix collector

This commit is contained in:
Sylvain 2024-02-26 09:09:27 +01:00
parent 24d2211559
commit 7a6d04b4f1
3 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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