1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Update install

This commit is contained in:
ericgaspar 2021-07-22 20:14:55 +02:00
parent eb834415dc
commit 6cb41edc2b
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -109,7 +109,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Configuring Galette..." --weight=1
ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/config/config.inc.php"
ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/galette/config/config.inc.php"
# #=================================================
# # Install PHP dependencies using composer
@ -124,13 +124,13 @@ ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_pa
# SECURE FILES AND DIRECTORIES
#=================================================
chmod u+rx $final_path/config
chmod g+rwx $final_path/config
chmod u+rx $final_path/galette/config
chmod g+rwx $final_path/galette/config
for folder in attachments cache exports files imports logs photos templates_c tempimages
do
chown $app $final_path/data/$folder
chmod g+rwx $final_path/data/$folder
chown $app $final_path/galette/data/$folder
chmod g+rwx $final_path/galette/data/$folder
done
#=================================================