mirror of
https://github.com/YunoHost-Apps/minchat_ynh.git
synced 2024-09-03 19:36:29 +02:00
Do not overwrite setup.ini - Corrected
This commit is contained in:
parent
04ed847e18
commit
68c5c1ed8c
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ final_path=/var/www/$app
|
|||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
if [[ ! -f ${final_path}/conf/setup.ini ]] ; then
|
||||
sudo cp ${final_path}/conf/sample/setup.ini ..
|
||||
sudo cp ${final_path}/conf/sample/setup.ini ${final_path}/conf/
|
||||
fi
|
||||
sudo chown -R www-data: $final_path
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ final_path=/var/www/$app
|
|||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
if [[ ! -f ${final_path}/conf/setup.ini ]] ; then
|
||||
sudo cp ${final_path}/conf/sample/setup.ini ..
|
||||
sudo cp ${final_path}/conf/sample/setup.ini ${final_path}/conf/
|
||||
fi
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Reference in a new issue