Skip to content

Commit c6f275f

Browse files
authored
Update tool download URLs in .zshrc
1 parent 60f9c54 commit c6f275f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.zshrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,8 @@ update_tools()(
544544
)
545545

546546
update_tools_stable()(
547-
(timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://raw.githubusercontent.com/LynnHo/Make-Workspace/main/tools_stable.yml || \
548-
timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://gitee.com/LynnHo/Make-Workspace/raw/main/tools_stable.yml) && \
547+
(timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://raw.githubusercontent.com/LynnHo/Make-Workspace/main/${TOOLS_STABLE:-tools_stable.yml} || \
548+
timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://gitee.com/LynnHo/Make-Workspace/raw/main/${TOOLS_STABLE:-tools_stable.yml}) && \
549549
# conda env update --name tools --file $WS/.tools_tmp.yml
550550
conda env update --name tools --file $WS/.tools_tmp.yml --prune
551551
chmod +x $TOOL_HOME/bin/{ping,ping6}

0 commit comments

Comments
 (0)