fix $PATH detection

This commit is contained in:
nahuhh 2024-10-17 19:43:16 +00:00
parent 4364fa99cc
commit a48c687a60

View file

@ -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