File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ function update_script() {
2626 msg_error " No ${APP} Installation Found!"
2727 exit
2828 fi
29+ if ! command -v jq & > /dev/null; then
30+ $STD apt-get install -y jq
31+ fi
2932 if ! command -v node > /dev/null || [[ " $( /usr/bin/env node -v | grep -oP ' ^v\K[0-9]+' ) " != " 22" ]]; then
3033 msg_info " Installing Node.js 22"
3134 $STD apt-get purge -y nodejs
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ $STD apt-get install -y \
2222 build-essential \
2323 git \
2424 make \
25- ca-certificates
25+ ca-certificates \
26+ jq
2627msg_ok " Installed Dependencies"
2728
2829NODE_VERSION=" 22" NODE_MODULE=" pnpm@$( curl -s https://raw.githubusercontent.com/msgbyte/tianji/master/package.json | jq -r ' .packageManager | split("@")[1]' ) " install_node_and_modules
You can’t perform that action at this time.
0 commit comments