Update install_terminal

fixed if statement typo
This commit is contained in:
LPJon
2023-08-31 03:31:13 -05:00
committed by GitHub
parent 642c5fe759
commit 79ad74e867

View File

@@ -19,7 +19,8 @@ function checkfornodejsrpm {
if [ "$usenvm" == "n" ]; then if [ "$usenvm" == "n" ]; then
if [ -e "$HOME/.nvm" ]; then if [ -e "$HOME/.nvm" ]; then
if [ -z "$(checkfornodejsrpm)" ]; then if [ -z "$(checkfornodejsrpm)" ]; then
rm -f /usr/bin/node rm -f /usr/bin/node
fi
fi fi
if [ ! -e "/usr/bin/node" ];then if [ ! -e "/usr/bin/node" ];then
yum -y install nodejs --enablerepo=epel yum -y install nodejs --enablerepo=epel