ajout de build-essential pour installer node
This commit is contained in:
parent
22d5bbdde2
commit
9607769086
|
@ -206,6 +206,8 @@ if [[ "$answer" == "y" ]]; then
|
||||||
mkdir /var/www/.npm
|
mkdir /var/www/.npm
|
||||||
chown www-data:www-data /var/www/.npm
|
chown www-data:www-data /var/www/.npm
|
||||||
|
|
||||||
|
install_pkg build-essential
|
||||||
|
|
||||||
su -s /bin/bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
|
su -s /bin/bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
|
||||||
export NVM_DIR="$HOME/.nvm" &&\
|
export NVM_DIR="$HOME/.nvm" &&\
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\
|
||||||
|
|
Loading…
Reference in New Issue