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:
parent
4d519519ac
commit
982f242fb5
2 changed files with 6 additions and 9 deletions
|
@ -4,7 +4,7 @@ id = "scrutiny"
|
||||||
name = "Scrutiny"
|
name = "Scrutiny"
|
||||||
description.en = "WebUI for smartd S.M.A.R.T monitoring"
|
description.en = "WebUI for smartd S.M.A.R.T monitoring"
|
||||||
|
|
||||||
version = "0.7.3~ynh2"
|
version = "0.7.3~ynh3"
|
||||||
|
|
||||||
maintainers = ["ewilly"]
|
maintainers = ["ewilly"]
|
||||||
|
|
||||||
|
|
|
@ -38,15 +38,12 @@ fi
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
then
|
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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-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-collector-metrics-linux" --dest_dir="$install_dir/bin"
|
||||||
ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web"
|
ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web"
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
|
Loading…
Reference in a new issue