Fixes
This commit is contained in:
parent
33d61e45c4
commit
5cb03f2e0d
|
|
@ -30,7 +30,7 @@ function update_script() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(echo ":$PATH:" != *":/usr/local/bin:"*) ]]; then
|
if [[ $(echo ":$PATH:" != *":/usr/local/bin:"*) ]]; then
|
||||||
echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc
|
echo -e "\nexport PATH=\"/usr/local/bin:\$PATH\"" >>~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
if ! command -v deno &>/dev/null; then
|
if ! command -v deno &>/dev/null; then
|
||||||
export DENO_INSTALL="/usr/local"
|
export DENO_INSTALL="/usr/local"
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ msg_info "Installing Deno"
|
||||||
export DENO_INSTALL="/usr/local"
|
export DENO_INSTALL="/usr/local"
|
||||||
curl -fsSL https://deno.land/install.sh | $STD sh -s -- -y
|
curl -fsSL https://deno.land/install.sh | $STD sh -s -- -y
|
||||||
[[ ":$PATH:" != *":/usr/local/bin:"* ]] &&
|
[[ ":$PATH:" != *":/usr/local/bin:"* ]] &&
|
||||||
echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc &&
|
echo -e "\nexport PATH=\"/usr/local/bin:\$PATH\"" >>~/.bashrc &&
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
msg_ok "Installed Deno"
|
msg_ok "Installed Deno"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user