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

Fix install

This commit is contained in:
oufmilo 2023-01-28 11:49:05 +01:00
parent c8a4b06ab2
commit ced60edb6d

View file

@ -100,6 +100,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
ynh_exec_warn_less git submodule update --init
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
@ -130,7 +131,6 @@ ynh_add_config --template="../conf/default.yml" --destination="$final_path/.conf
ynh_script_progression --message="Building app..." --weight=15
pushd "$final_path"
ynh_exec_warn_less git submodule update --init
ynh_use_nodejs
corepack enable
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --frozen-lockfile