mirror of
https://github.com/LPJon/cwpfixes.git
synced 2026-09-10 22:20:47 -05:00
Update install_terminal
fixed if statement typo
This commit is contained in:
@@ -19,7 +19,8 @@ function checkfornodejsrpm {
|
||||
if [ "$usenvm" == "n" ]; then
|
||||
if [ -e "$HOME/.nvm" ]; then
|
||||
if [ -z "$(checkfornodejsrpm)" ]; then
|
||||
rm -f /usr/bin/node
|
||||
rm -f /usr/bin/node
|
||||
fi
|
||||
fi
|
||||
if [ ! -e "/usr/bin/node" ];then
|
||||
yum -y install nodejs --enablerepo=epel
|
||||
|
||||
Reference in New Issue
Block a user