1
0
Fork 0
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:
frju365 2018-04-17 00:56:34 +02:00 committed by GitHub
parent 7f58a94f8f
commit 8503a7e79c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
# Set files ownership during installation
chown $app: $final_path -R
chown $app:$app $final_path -R
chmod 755 $final_path -R
#=================================================
@ -122,7 +122,7 @@ ynh_add_systemd_config
script_dir="$PWD"
pushd "$final_path"
chown -R $app: $final_path
chown -R $app:$app $final_path
npm install
npm install -g bower
sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install"