mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix $uname
This commit is contained in:
parent
81178e0841
commit
dd28717308
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ ynh_install_nodejs () {
|
||||||
test -x /usr/bin/npm_n && mv /usr/bin/npm_n /usr/bin/npm
|
test -x /usr/bin/npm_n && mv /usr/bin/npm_n /usr/bin/npm
|
||||||
|
|
||||||
# Install the requested version of nodejs
|
# Install the requested version of nodejs
|
||||||
|
uname=$(uname -m)
|
||||||
if [[ $uname =~ aarch64 || $uname =~ arm64]]
|
if [[ $uname =~ aarch64 || $uname =~ arm64]]
|
||||||
then
|
then
|
||||||
n $nodejs_version --arch=arm64
|
n $nodejs_version --arch=arm64
|
||||||
|
|
Loading…
Add table
Reference in a new issue