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

Update install

This commit is contained in:
Limezy 2022-06-09 01:04:30 +07:00
parent 1b66b2f999
commit c0dfee1320

View file

@ -149,8 +149,8 @@ pushd "$final_path"
# Setup node environment
export NODE_OPTIONS=--max_old_space_size=1024
# Build server from source
ynh_secure_remove --file="$final_path/build"
make all DESTDIR=$final_path/build 2>&1
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" make all install DESTDIR=$final_path/build 2>&1
ynh_secure_remove --file="$final_path/go"
popd