Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Software | Node.js: Fix broken install on ARMv6 since Node 12 does not support it any more: #2755
  • Loading branch information
MichaIng committed May 2, 2019
1 parent 9522745 commit dc09158
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6677,9 +6677,12 @@ Pin-Priority: -1' > /etc/apt/preferences.d/dietpi-docker_fix
INSTALL_URL_ADDRESS='https://raw.githubusercontent.com/taaem/nodejs-linux-installer/master/node-install.sh'
G_CHECK_URL "$INSTALL_URL_ADDRESS"

wget "$INSTALL_URL_ADDRESS" -O node_install.sh
chmod +x node_install.sh
wget "$INSTALL_URL_ADDRESS"

This comment has been minimized.

Copy link
@axwax

axwax May 2, 2019

I believe this needs reverting, see #2755 (comment)

# ARMv6 workaround: https://github.com/MichaIng/DietPi/issues/2755
(( $G_HW_ARCH == 1 )) && sed -i 's|nodejs.org/dist/latest/|nodejs.org/dist/latest-v11.x/|g' node_install.sh

mkdir -p /usr/local # failsafe
chmod +x node_install.sh
./node_install.sh
rm node_install.sh

Expand Down

0 comments on commit dc09158

Please sign in to comment.