Skip to content

Commit

Permalink
v6.17
Browse files Browse the repository at this point in the history
+ DietPi-Survey | Only upload version string until subversion, mainly to fix dietpi-survey_report run and reduce overload of survey report page.
+ DietPi-Survey | Additional software ID integer check, until adding to upload file, failsafe
  • Loading branch information
MichaIng authored Oct 4, 2018
1 parent 9db8830 commit 67078c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dietpi/dietpi-survey
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ _EOF_

software=${software##*[}
software=${software%%]*}
echo "((aSOFTWARE[\${aSOFTWARE_NAME$(paste -sd '_' /DietPi/dietpi/.version)[$software]}]++))" >> $UPLOAD_FILENAME
if disable_error=1 G_CHECK_VALIDINT $software; then

echo "((aSOFTWARE[\${aSOFTWARE_NAME${G_DIETPI_VERSION_CORE}_${G_DIETPI_VERSION_SUB}[$software]}]++))" >> $UPLOAD_FILENAME

fi

done <<< "$(grep ']=2' /DietPi/dietpi/.installed)"

Expand Down

0 comments on commit 67078c4

Please sign in to comment.