1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

[fix] permissions

This commit is contained in:
Laurent Peuch 2015-09-29 00:15:49 +02:00
parent 9d6b4eb794
commit 89e40ea5ad

View file

@ -18,10 +18,9 @@ final_path=/var/www/dolibarr
sudo mkdir -p $final_path sudo mkdir -p $final_path
sudo cp -a ../sources/dolibarr/* $final_path sudo cp -a ../sources/dolibarr/* $final_path
sudo touch $final_path/htdocs/conf/conf.php
sudo chown -R www-data: $final_path sudo chown -R www-data: $final_path
touch $final_path/htdocs/conf/conf.php
if [[ "$path" == "" ]]; then if [[ "$path" == "" ]]; then
sed -i "s@PATHTOCHANGE@/@g" ../conf/nginx.conf sed -i "s@PATHTOCHANGE@/@g" ../conf/nginx.conf
else else