Browse Source

Update upgrade

pull/1/head
abeudin 12 years ago
parent
commit
880bde60c1
  1. 4
      scripts/upgrade

4
scripts/upgrade

@ -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…
Cancel
Save