mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update install
This commit is contained in:
parent
8b0e4fb17d
commit
7b80dd1489
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ sudo yunohost app setting wordpress mysqlpwd -v $db_pwd
|
||||||
final_path=/var/www/wordpress
|
final_path=/var/www/wordpress
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
sudo cp -a ../sources/* $final_path
|
sudo cp -a ../sources/* $final_path
|
||||||
sudo cp ../conf/wp-config.php $final_path/config/
|
sudo cp ../conf/wp-config.php $final_path/wp-config.php
|
||||||
|
|
||||||
# Change variables in Wordpress configuration
|
# Change variables in Wordpress configuration
|
||||||
sudo sed -i "s/yunouser/$db_user/g" $final_path/wp-config.php
|
sudo sed -i "s/yunouser/$db_user/g" $final_path/wp-config.php
|
||||||
|
|
Loading…
Add table
Reference in a new issue