|
@@ -18,12 +18,6 @@ language=$(ynh_app_setting_get "$app" language)
|
|
|
|
|
|
|
|
CHECK_PATH # Checks and corrects the syntax of the path.
|
|
CHECK_PATH # Checks and corrects the syntax of the path.
|
|
|
|
|
|
|
|
-# Check if admin is not null
|
|
|
|
|
-if [[ "$admin" = "" || "$is_public" = "" || "$language" = "" ]]; then
|
|
|
|
|
- echo "Unable to upgrade, please contact support"
|
|
|
|
|
- ynh_die
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
|
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
|
|
|
|
|
|
|
final_path=/var/www/$app
|
|
final_path=/var/www/$app
|