We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387e55e commit b5065aaCopy full SHA for b5065aa
1 file changed
stacks/yj/build.sh
@@ -8,13 +8,9 @@ function build() {
8
generate-stack-path
9
BIN_DIR="${DATA_DIR}"/bin
10
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 ; \
+ architecture=$(dpkg --print-architecture)
16
curl -o "${BIN_DIR}"/yj \
17
- -L "https://github.com/sclevine/yj/releases/download/v${STACK_VERSION}/$yj_name"; \
+ -L "https://github.com/sclevine/yj/releases/download/v${STACK_VERSION}/yj-linux-$architecture"; \
18
chmod +x "${BIN_DIR}"/yj
19
}
20
0 commit comments