Skip to content

Commit 26ab867

Browse files
committed
fix standalone install
1 parent 3a65b94 commit 26ab867

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ echo_standalone_postinstall() {
8484
cath << EOF
8585
Standalone release has been installed into $STANDALONE_INSTALL_PREFIX/lib/coder-$VERSION
8686
87-
Extend your path to use coder:
87+
Extend your path to use Coder:
8888
PATH="$STANDALONE_INSTALL_PREFIX/bin:\$PATH"
89+
8990
Then run Coder (temporary):
9091
coder server --dev
9192
Or run a production deployment with PostgreSQL:
@@ -366,9 +367,8 @@ install_standalone() {
366367
fi
367368

368369
"$sh_c" mkdir -p "$STANDALONE_INSTALL_PREFIX/lib" "$STANDALONE_INSTALL_PREFIX/bin"
369-
"$sh_c" tar -C "$STANDALONE_INSTALL_PREFIX/lib" -xzf "$CACHE_DIR/coder_$${VERSION}_${OS}_${ARCH}.tar"
370-
"$sh_c" mv -f "$STANDALONE_INSTALL_PREFIX/lib/coder_$${VERSION}_${OS}_${ARCH}" "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION"
371-
"$sh_c" ln -fs "$STANDALONE_INSTALL_PREFIX/lib/coder_$VERSION/bin/coder" "$STANDALONE_INSTALL_PREFIX/bin/coder"
370+
"$sh_c" tar -C "$STANDALONE_INSTALL_PREFIX/lib" -xzf "$CACHE_DIR/coder_${VERSION}_${OS}_${ARCH}.tar"
371+
"$sh_c" ln -fs "$STANDALONE_INSTALL_PREFIX/lib/coder/bin/coder" "$STANDALONE_INSTALL_PREFIX/bin/coder"
372372

373373
echo_standalone_postinstall
374374
}

0 commit comments

Comments
 (0)