1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

don't install npm globally

This commit is contained in:
Thomas 2024-06-12 10:01:00 +02:00 committed by GitHub
parent 9e5c760e2a
commit defde5468f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,19 +74,6 @@ chmod 750 "$data_dir"
chmod -R o-rwx "$data_dir"
chown -R $app:www-data "$data_dir"
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..."
ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_install_mongo
# Upgrade NPM
ynh_npm install --global npm@latest
#=================================================
# RESTORE THE MONGODB DATABASE
#=================================================