1.34.11 release
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
# shellcheck disable=SC2329
|
# shellcheck disable=SC2329
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
declare -g SCRIPT_VERSION="1.34.11-dev"
|
declare -g SCRIPT_VERSION="1.34.11"
|
||||||
declare -g MC_VERSION_HARDCODE="34.0.71" # do find all replace
|
declare -g MC_VERSION_HARDCODE="34.0.71" # do find all replace
|
||||||
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
|
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
|
||||||
declare -g BOARD_ID="89.0" # MC34 board ID for automatic version detection
|
declare -g BOARD_ID="89.0" # MC34 board ID for automatic version detection
|
||||||
@@ -757,10 +757,10 @@ acquire_deb() {
|
|||||||
MC_DEB="$OUTPUT_DIR/SOURCES/$fname"
|
MC_DEB="$OUTPUT_DIR/SOURCES/$fname"
|
||||||
MC_SOURCE="https://files.jriver-cdn.com/mediacenter/channels/v$MC_MVERSION/latest/$fname"
|
MC_SOURCE="https://files.jriver-cdn.com/mediacenter/channels/v$MC_MVERSION/latest/$fname"
|
||||||
|
|
||||||
# If deb file already exists, skip download
|
# If deb file already exists and is >30MB, skip download
|
||||||
if [[ -f $MC_DEB ]]; then
|
if [[ -f $MC_DEB ]]; then
|
||||||
if [[ $(stat -c%s "$MC_DEB") -lt 10000000 ]]; then
|
if [[ $(stat -c%s "$MC_DEB") -lt 30000000 ]]; then
|
||||||
echo "Removing existing DEB under 10MB: $MC_DEB"
|
echo "Removing existing DEB under 30MB: $MC_DEB"
|
||||||
execute rm -f "$MC_DEB"
|
execute rm -f "$MC_DEB"
|
||||||
else
|
else
|
||||||
echo "Using existing DEB: $MC_DEB"
|
echo "Using existing DEB: $MC_DEB"
|
||||||
|
|||||||
Reference in New Issue
Block a user