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:
parent
9d6b4eb794
commit
89e40ea5ad
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue