Skip to content

Commit b5065aa

Browse files
committed
fix(stacks): yj not found
1 parent 387e55e commit b5065aa

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

stacks/yj/build.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ function build() {
88
generate-stack-path
99
BIN_DIR="${DATA_DIR}"/bin
1010
mkdir -p "${BIN_DIR}"
11-
architecture=$(dpkg --print-architecture); \
12-
case "$architecture" in \
13-
amd64) yj_name=yj-linux ;; \
14-
*) yj_name=yj-linux=$architecture ;; \
15-
esac ; \
11+
architecture=$(dpkg --print-architecture)
1612
curl -o "${BIN_DIR}"/yj \
17-
-L "https://github.com/sclevine/yj/releases/download/v${STACK_VERSION}/$yj_name"; \
13+
-L "https://github.com/sclevine/yj/releases/download/v${STACK_VERSION}/yj-linux-$architecture"; \
1814
chmod +x "${BIN_DIR}"/yj
1915
}
2016

0 commit comments

Comments
 (0)