mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update upgrade
This commit is contained in:
parent
1951f816c6
commit
880bde60c1
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,8 @@ is_public=$(sudo yunohost app setting wordpress is_public)
|
||||||
|
|
||||||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||||
|
|
||||||
|
final_path=/var/www/wordpress
|
||||||
|
|
||||||
db_name=wordpress
|
db_name=wordpress
|
||||||
|
|
||||||
if [[ "$admin_wordpress" = "" ]];
|
if [[ "$admin_wordpress" = "" ]];
|
||||||
|
@ -20,7 +22,7 @@ fi
|
||||||
|
|
||||||
if [[ "$language" = "" ]];
|
if [[ "$language" = "" ]];
|
||||||
then
|
then
|
||||||
language=$(sudo grep WPLANG /var/www/wordpress/wp-config.php | cut -d"'" -f4)
|
language=$(sudo grep WPLANG $final_path/wp-config.php | cut -d"'" -f4)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$is_public" = "" ]];
|
if [[ "$is_public" = "" ]];
|
||||||
|
|
Loading…
Add table
Reference in a new issue