Revert "When checking for shell, use strict grep (#3437)"

This reverts commit b77bd30460.
This commit is contained in:
Igor Pecovnik 2022-01-26 20:18:46 +01:00
parent 1001751983
commit 1d80b5cde3
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -88,7 +88,7 @@ set_shell()
fi
SHELL_PATH=$(grep /$USER_SHELL$ /etc/shells | tail -1)
chsh -s $(grep -wiF "/$USER_SHELL" /etc/shells | tail -1)
chsh -s $(grep -iF "/$USER_SHELL" /etc/shells | tail -1)
echo -e "\nShell: \x1B[92m${USER_SHELL^^}\x1B[0m"
# change shell for future users