mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Fix
This commit is contained in:
parent
548e23a28c
commit
a71fefa764
3 changed files with 5 additions and 5 deletions
|
@ -101,7 +101,7 @@ ynh_setup_source --dest_dir=$final_path
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -120,7 +120,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
|
|||
|
||||
pushd $final_path/programs/server
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm install 2>/dev/null
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm install --unsafe-perm 2>/dev/null
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -65,7 +65,7 @@ ynh_restore_file --origin_path="$final_path"
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
|
@ -93,7 +93,7 @@ fi
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -119,7 +119,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
|
|||
|
||||
pushd $final_path/programs/server
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm install 2>/dev/null
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm install --unsafe-perm 2>/dev/null
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue