Browse Source

Merge pull request #10 from Kloadut/patch-3

Update upgrade
pull/1/head
abeudin 12 years ago
parent
commit
d8f2edf283
  1. 2
      scripts/upgrade

2
scripts/upgrade

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

Loading…
Cancel
Save