File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 214214 cd " $SRC_DIR "
215215 export MISE_TRUSTED_CONFIG_PATHS=" $SRC_DIR " /mise.toml
216216 export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg
217- $STD mise install
217+ mise_ok=0
218+ for i in 1 2 3; do
219+ $STD mise install && {
220+ mise_ok=1
221+ break
222+ }
223+ msg_warn " mise install failed (attempt $i /3) - retrying"
224+ sleep 5
225+ done
226+ [[ " $mise_ok " -eq 1 ]] || exit 1
218227 export PATH=" $( mise bin-paths 2> /dev/null | tr ' \n' ' :' ) $PATH "
219228 if ! command -v extism-js > /dev/null 2>&1 ; then
220229 # extism-js ships as a bare gzip-compressed single binary (.gz) that
Original file line number Diff line number Diff line change @@ -355,7 +355,16 @@ cp LICENSE "$APP_DIR"
355355cd " $SRC_DIR "
356356export MISE_TRUSTED_CONFIG_PATHS=" $SRC_DIR " /mise.toml
357357export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg
358- $STD mise install
358+ mise_ok=0
359+ for i in 1 2 3; do
360+ $STD mise install && {
361+ mise_ok=1
362+ break
363+ }
364+ msg_warn " mise install failed (attempt $i /3) - retrying"
365+ sleep 5
366+ done
367+ [[ " $mise_ok " -eq 1 ]] || exit 1
359368export PATH=" $( mise bin-paths 2> /dev/null | tr ' \n' ' :' ) $PATH "
360369if ! command -v extism-js > /dev/null 2>&1 ; then
361370 # extism-js is published as a bare gzip-compressed single binary (.gz), which
You can’t perform that action at this time.
0 commit comments