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
ba4c9d0441
commit
70890996c2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ sudo cp ../conf/wp-config.php $final_path/wp-config.php
|
||||||
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
|
||||||
sudo sed -i "s/yunopass/$db_pwd/g" $final_path/wp-config.php
|
sudo sed -i "s/yunopass/$db_pwd/g" $final_path/wp-config.php
|
||||||
sudo sed -i "s/yunobase/$db_user/g" $final_path/wp-config.php
|
sudo sed -i "s/yunobase/$db_user/g" $final_path/wp-config.php
|
||||||
keys=$(curl https://api.wordpress.org/secret-key/1.1/salt/ -kL)
|
keys=$(wget -qO - https://api.wordpress.org/secret-key/1.1/salt/)
|
||||||
sudo sed -i "s/KEYSTOCHANGE/$keys/g" $final_path/wp-config.php
|
sudo sed -i "s/KEYSTOCHANGE/$keys/g" $final_path/wp-config.php
|
||||||
sudo sed -i "s/I18NTOCHANGE/$language/g" $final_path/wp-config.php
|
sudo sed -i "s/I18NTOCHANGE/$language/g" $final_path/wp-config.php
|
||||||
sudo sed -i "s@URLWORDPRESS@$domain$path@g" ../conf/*.sql
|
sudo sed -i "s@URLWORDPRESS@$domain$path@g" ../conf/*.sql
|
||||||
|
|
Loading…
Add table
Reference in a new issue