1.7.4e updated line 422

This commit is contained in:
Dewalt 2023-08-05 06:41:57 -05:00
parent 7fee46061f
commit 1ed8ed51f1
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ fix_cme() {
getshell=$(echo $SHELL | cut -d "/" -f4)
subshell=$(runuser $findrealuser $getshell -c 'echo $SHELL | cut -d "/" -f4')
checkforlocalbinpath=$(runuser $findrealuser $getshell -c 'cat $HOME/.$subshell"rc" | grep -i "PATH=" | grep -i "\$PATH:\$HOME\/\.local\/bin" -c')
checkforlocalbinpath=$(cat /home/$findrealuser/.$subshell"rc" | grep -i PATH= | grep -i "\$PATH:\$HOME\/\.local\/bin" -c)
if [[ $checkforlocalbinpath -eq 0 ]]
then