1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_capsule_ynh.git synced 2024-09-03 19:46:21 +02:00

Fix db_access.txt

This commit is contained in:
yalh76 2022-07-30 14:11:43 +02:00
parent d5948cf13c
commit fcc12838b7

View file

@ -152,10 +152,10 @@ chown $app:$app "$final_path/www/index.gmi"
if [ $with_mysql -eq 1 ]; then
# Store the database access
echo -e "# MySQL Database
name: ${db_name}\nuser: ${db_name}\npass: ${db_pwd}" > ../sources/db_access.txt
name: ${db_name}\nuser: ${db_name}\npass: ${db_pwd}" > ../conf/db_access.txt
# Copy files to the right place
cp -r "../sources/db_access.txt" "$final_path/db_access.txt"
cp -r "../conf/db_access.txt" "$final_path/db_access.txt"
fi
#=================================================