mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-05 23:50:33 +00:00
MeTube: Fix inserting path into .bashrc (#8589)
* Fixes * Update * Update
This commit is contained in:
parent
af991286dc
commit
8e1a9ffb07
2 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ function update_script() {
|
|||
fi
|
||||
|
||||
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
|
||||
if ! command -v deno &>/dev/null; then
|
||||
export DENO_INSTALL="/usr/local"
|
||||
|
|
@ -110,6 +110,7 @@ EOF
|
|||
|
||||
msg_ok "Updated Successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue