• WaLLy3K's avatar
    Clean up known remaining colour output issues (#1613) · fdf2649f
    WaLLy3K authored
    
    
    * Print newline on error message
    
    * Output last three lines of error if update fails
    
    * Consistent error messages & housekeeping
    
    * Add shellcheck directive to ignore COL_TABLE
    * Quoted and braced variables for codebase consistency
    * Escaped newlines correctly
    * Made error messages consistent (indenting and wording)
    * Removed consecutive echos
    
    * Conditional formatting consistency
    
    * Braced, quoted and used [[ on conditionals
    
    * Fix specific ShellCheck issues
    
    * Fixed issues that could be safely changed without extensive testing
    
    * Update SELinux whiptail behaviour & more
    
    * Colourised some strings
    * Fixed multiple line string indenting
    * Made output consistent with existing codebase
    * Removed sequential echos
    * Make SELinux whiptail use "--defaultno", and change text wording
    
    * Add help text for hostrecord, and colourise output
    
    * this should fix the tests...
    Signed-off-by: default avatarAdam Warner <adamw@rner.email>
    
    * revert changes to `update_package_cache()` to prove tests
    Signed-off-by: default avatarAdam Warner <adamw@rner.email>
    fdf2649f
update.sh 7.44 KB