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:
parent
d5948cf13c
commit
fcc12838b7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue