1
0
Fork 0
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:
abeudin 2013-12-04 18:09:55 +01:00
parent 8b0e4fb17d
commit 7b80dd1489

View file

@ -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