diff --git a/manifest.toml b/manifest.toml index 27d3693..d36ae38 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~ynh2" +version = "0.7.3~ynh3" maintainers = ["ewilly"] diff --git a/scripts/upgrade b/scripts/upgrade index 2492ee8..dab23a6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 +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 +# 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" #================================================= # REAPPLY SYSTEM CONFIGURATIONS