mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 05:39:22 +02:00
rtl: fix check for npm 7 #2124
This commit is contained in:
parent
880db21993
commit
e83196d903
@ -92,7 +92,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
fi
|
||||
|
||||
npm7installed=$(npm -v 2>/dev/null | grep -c "7.")
|
||||
if ! [ ${npm7installed} -eq 0 ]; then
|
||||
if [ ${npm7installed} -eq 0 ]; then
|
||||
# needed for RTL
|
||||
# https://github.blog/2021-02-02-npm-7-is-now-generally-available/
|
||||
echo "# Update npm to v7"
|
||||
|
Loading…
x
Reference in New Issue
Block a user