Skip to content
Snippets Groups Projects
Commit 0300a915 authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

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.
parent ae4e0f46
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment