mirror of
https://github.com/YunoHost-Apps/matrix-appservice-irc_ynh.git
synced 2024-09-03 19:36:37 +02:00
Fix: permissions on directory before running npm i
This commit is contained in:
parent
ecf4a62902
commit
e666ae1bf9
1 changed files with 4 additions and 4 deletions
|
@ -110,14 +110,14 @@ ynh_script_progression --message="Setting up source files and building the app..
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
pushd "$final_path" >/dev/null || ynh_die
|
||||
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm i
|
||||
popd >/dev/null || ynh_die
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
pushd "$final_path" >/dev/null || ynh_die
|
||||
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm i
|
||||
popd >/dev/null || ynh_die
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue