1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mongo-express_ynh.git synced 2024-09-03 19:46:04 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-09-02 13:41:06 +02:00
parent 2c800e51af
commit 264546c815

View file

@ -46,15 +46,13 @@ ynh_script_progression "Installing Yarn and Buuilding application..."
# Build using Yarn
pushd "$install_dir"
# We must use npm to install yarn but without installing other dependencies as npm fails with them
# We must use npm to install yarn but without installing other dependencies as npm fails with them
if [ -f "package.json" ]; then
mv package.json package.json.mov
fi
_install_yarn
if [ -f "package.json.mov" ]; then
mv package.json.mov package.json
fi
ynh_exec_as_app "$ynh_yarn" install
ynh_exec_as_app npm run build