diff --git a/scripts/upgrade b/scripts/upgrade index 499eaca..ee82cfa 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,8 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 if [[ -z "${password:-}" ]] || [[ -z "${color:-}" ]] || [[ -z "${wiki:-}" ]]; then password=$( grep -oP '^\$PASSWORD = sha1\(\"\K.*(?=\"\);$)' "$install_dir/config.php") wiki=$( grep -oP '^\$WIKI_TITLE = '"'\K.*(?=';)" "$install_dir/config.php") - color=$(grep -A1 'For YunoHost config' "$install_dir/templates/minimaxing/minimaxing.css" | grep -oP '^/\* @fg: #\K.*(?=;)'|| true) + # color=$(grep -A1 'For YunoHost config' "$install_dir/templates/minimaxing/minimaxing.css" | grep -oP '^/\* @fg: #\K.*(?=;)'|| true) + color=787878 if [[ -z "$password" ]] || [[ -z "$wiki" ]] || [[ -z "$color" ]]; then yunohost_app="yunohost app"