diff --git a/scripts/restore b/scripts/restore index ce3653a..c06d759 100644 --- a/scripts/restore +++ b/scripts/restore @@ -26,7 +26,7 @@ ynh_script_progression --message="Reinstalling Netdata..." --weight=18 # Download, check integrity, uncompress and patch the source from app.src NETDATA_TMPDIR=$(mktemp -d) -ynh_setup_source --dest_dir="$NETDATA_TMPDIR" +ynh_setup_source --dest_dir="$NETDATA_TMPDIR" --full_replace=1 # create a temporary file for the log tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log) diff --git a/scripts/upgrade b/scripts/upgrade index eb4a0d5..bd391f9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=18 # Download, check integrity, uncompress and patch the source from app.src NETDATA_TMPDIR=$(mktemp -d) -ynh_setup_source "$NETDATA_TMPDIR" +ynh_setup_source "$NETDATA_TMPDIR" --full_replace=1 #================================================= # SPECIFIC UPGRADE