mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update install
This commit is contained in:
parent
7f58a94f8f
commit
8503a7e79c
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ ynh_app_setting_set $app final_path $final_path
|
||||||
ynh_setup_source "$final_path" # Download, check integrity and uncompress the source from app.src
|
ynh_setup_source "$final_path" # Download, check integrity and uncompress the source from app.src
|
||||||
|
|
||||||
# Set files ownership during installation
|
# Set files ownership during installation
|
||||||
chown $app: $final_path -R
|
chown $app:$app $final_path -R
|
||||||
chmod 755 $final_path -R
|
chmod 755 $final_path -R
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -122,7 +122,7 @@ ynh_add_systemd_config
|
||||||
|
|
||||||
script_dir="$PWD"
|
script_dir="$PWD"
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
chown -R $app: $final_path
|
chown -R $app:$app $final_path
|
||||||
npm install
|
npm install
|
||||||
npm install -g bower
|
npm install -g bower
|
||||||
sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install"
|
sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install"
|
||||||
|
|
Loading…
Add table
Reference in a new issue