1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Merge pull request #10 from Kloadut/patch-3

Update upgrade
This commit is contained in:
abeudin 2014-05-30 15:11:06 +02:00
commit d8f2edf283

View file

@ -8,7 +8,7 @@ language=$(sudo yunohost app setting wordpress language)
is_public=$(sudo yunohost app setting wordpress is_public) is_public=$(sudo yunohost app setting wordpress is_public)
# Check if admin is not null # Check if admin is not null
if [ "$admin_wordpress" = "" || "$is_public" = "" || "$language" = "" ]; then if [[ "$admin_wordpress" = "" || "$is_public" = "" || "$language" = "" ]]; then
echo "Unable to upgrade, please contact support" echo "Unable to upgrade, please contact support"
exit 1 exit 1
fi fi