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

Remove upgrade_type check

This commit is contained in:
Sylvain 2024-02-28 18:26:31 +01:00
parent 4d519519ac
commit 982f242fb5
2 changed files with 6 additions and 9 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~ynh2"
version = "0.7.3~ynh3"
maintainers = ["ewilly"]

View file

@ -38,15 +38,12 @@ fi
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# 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-linux" --dest_dir="$install_dir/bin"
ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web"
fi
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS