1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-12-21 11:16:04 +01:00
parent 9920e9e443
commit 7721147a11

View file

@ -91,11 +91,14 @@ ynh_script_progression --message="Building $app... (this will take some time and
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --allow-root
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g bower
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH bower install --allow-root
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH bower update --allow-root
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run build
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm ci
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run install:components
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --allow-root
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g bower
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH bower install --allow-root
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH bower update --allow-root
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run build
popd
#=================================================