Skip to content

Commit

Permalink
ci: more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Oct 7, 2024
1 parent d1108d4 commit d7e2151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,12 @@ if curl -fsSL --output /tmp/extism-py.tar.gz "$DOWNLOAD_URL"; then
if [ "$USE_SUDO" = "1" ]; then
sudo mkdir -p /usr/local/share
echo "No user-writable bin directory found in PATH. Using sudo to install in $INSTALL_DIR"
sudo rm -rf /usr/local/share/extism-py
sudo mv /tmp/extism-py/bin/extism-py "$TARGET"
sudo mv /tmp/extism-py/share/extism-py /usr/local/share
else
mkdir -p ~/.local/share
rm -rf ~/.local/share/extism-py
mv /tmp/extism-py "$TARGET"
mv /tmp/extism-py/share/extism-py ~/.local/share
fi
Expand Down

0 comments on commit d7e2151

Please sign in to comment.