mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-11-16 15:57:38 +00:00
fix $PATH detection
This commit is contained in:
parent
4364fa99cc
commit
a48c687a60
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ read -p 'Press Enter to continue, or CTRL-C to exit.'
|
||||||
|
|
||||||
# Quest to make trasher happy
|
# Quest to make trasher happy
|
||||||
addpath='PATH="$HOME/.local/bin:$PATH"'
|
addpath='PATH="$HOME/.local/bin:$PATH"'
|
||||||
trasherdk=$(echo $PATH | grep .local/bin)
|
trasherdk=$(echo $PATH | grep -F '.local/bin')
|
||||||
|
|
||||||
if [[ ! -d $HOME/.local/bin ]]; then
|
if [[ ! -d $HOME/.local/bin ]]; then
|
||||||
mkdir -p $HOME/.local/bin
|
mkdir -p $HOME/.local/bin
|
||||||
|
|
Loading…
Reference in a new issue