MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
755 stars 436 forks source link

[update.sh] Improve code formatting #548

Closed koelle25 closed 7 months ago

koelle25 commented 7 months ago

Overview

This PR improves the code formatting of the update.sh script.

Details

  1. Indentation: On some lines there were some spaces instead of tabs. As everything else is indented with tabs I assume this should be the default. Besides this, some lines (108-114) were indented one level too much
  2. Curly braces: The mariaversion() function had the opening brace on the same line. All other functions have it on the next line, so I changed it accordingly.
  3. Command continuation: I modified the continuation of the command in the mariaversion() function (line 141/142) according to a similar line in the all() function (line 149/150).
grooverdan commented 7 months ago

thanks, I was getting a little sloppy here.