File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function update_script() {
3030 fi
3131
3232 if [[ $( echo " :$PATH :" ! = * " :/usr/local/bin:" * ) ]]; then
33- echo ' export PATH="/usr/local/bin:$PATH" ' >> ~/.bashrc
33+ echo -e " \nexport PATH=\ " /usr/local/bin:\ $ PATH\" " >> ~/.bashrc
3434 source ~ /.bashrc
3535 if ! command -v deno & > /dev/null; then
3636 export DENO_INSTALL=" /usr/local"
110110
111111 msg_ok " Updated Successfully!"
112112 fi
113+ exit
113114}
114115
115116start
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ msg_info "Installing Deno"
3333export DENO_INSTALL=" /usr/local"
3434curl -fsSL https://deno.land/install.sh | $STD sh -s -- -y
3535[[ " :$PATH :" != * " :/usr/local/bin:" * ]] &&
36- echo ' export PATH="/usr/local/bin:$PATH" ' >> ~/.bashrc &&
36+ echo -e " \nexport PATH=\ " /usr/local/bin:\ $ PATH\" " >> ~/.bashrc &&
3737 source ~ /.bashrc
3838msg_ok " Installed Deno"
3939
You can’t perform that action at this time.
0 commit comments