Complement previous upstream commits to fix Shellcheck issues
* Unify if/then and while/do on separate lines * Fix indentation to be consistent * Use "$()" instead of backticks for subshells * Exit code cannot be -1, must be 0-255 * Remove unused variables MYCHECK and MYCHECK_PARAMS * Rewrite messy command-line database calls to an easier to read form that does exactly the same * Use 'command -v' test instead of 'which' There are no functional changes. All scripts behave exactly the same before and after changes. With this commit, all of debian/* is Shellcheck clean.
Showing
- debian/additions/debian-start 7 additions, 4 deletionsdebian/additions/debian-start
- debian/additions/debian-start.inc.sh 28 additions, 15 deletionsdebian/additions/debian-start.inc.sh
- debian/autobake-deb.sh 1 addition, 1 deletiondebian/autobake-deb.sh
- debian/mariadb-common.preinst 15 additions, 13 deletionsdebian/mariadb-common.preinst
- debian/mariadb-server.config 9 additions, 3 deletionsdebian/mariadb-server.config
- debian/mariadb-server.mariadb.init 67 additions, 27 deletionsdebian/mariadb-server.mariadb.init
- debian/mariadb-server.postinst 13 additions, 12 deletionsdebian/mariadb-server.postinst
- debian/mariadb-server.preinst 10 additions, 4 deletionsdebian/mariadb-server.preinst
- debian/tests/smoke 10 additions, 7 deletionsdebian/tests/smoke
- debian/tests/upstream 14 additions, 12 deletionsdebian/tests/upstream
Loading
-
mentioned in commit 29ddd14c
-
mentioned in commit otto/mariadb-server@fb360862
-
mentioned in commit 51d8314d
-
mentioned in commit illuusio/mariadb-server@a4ae8aa3
-
mentioned in commit illuusio/mariadb-server@0b845571
-
mentioned in commit illuusio/mariadb-server@5a32397c
-
mentioned in commit illuusio/mariadb-server@617b34c0
-
mentioned in commit illuusio/mariadb-server@d1bd23b0
-
mentioned in commit illuusio/mariadb-server@3f134de2
-
mentioned in commit illuusio/mariadb-server@78c293dd
-
mentioned in commit illuusio/mariadb-server@47e9fe04
-
mentioned in commit illuusio/mariadb-server@e40ad1d5
-
mentioned in commit illuusio/mariadb-server@4c619534
-
mentioned in commit illuusio/mariadb-server@199ae1f5
-
mentioned in commit illuusio/mariadb-server@2adaf5c2
Please register or sign in to comment