fix /data/data/com.termux/files/home/.local/bin:/data/data/com.termux/files/usr/bin detection

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

View file

@ -184,7 +184,7 @@ read -p 'Press Enter to continue, or CTRL-C to exit.'
# Quest to make trasher happy
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
mkdir -p $HOME/.local/bin