mirror of
https://github.com/LPJon/cwpfixes.git
synced 2026-09-10 22:20:47 -05:00
Update install_terminal
adjusted getsystemnodeversion function to look for existence first
This commit is contained in:
@@ -9,7 +9,9 @@ usenvm=n
|
||||
nodeversion=16.18.1
|
||||
|
||||
function getsystemnodeversion {
|
||||
/usr/bin/node -v
|
||||
if [ -e "/usr/bin/node" ]; then
|
||||
/usr/bin/node -v
|
||||
fi
|
||||
}
|
||||
if [ "$usenvm" == "n" ]; then
|
||||
if [ ! -e "/usr/bin/node" ];then
|
||||
|
||||
Reference in New Issue
Block a user