diff --git a/README.md b/README.md index 06ef02c..49bd536 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ ___ ## :bell: Changelog +- **v0.6.1**: Hotfixes: (try removing set+shopt+shopt if debugging more errors) + - xargs/pipefail, removed `-set -e` bash option for now. + - unbound variables fixed (hopefully) + - dependency installer from pkgmanager rewritten - **v0.6.0**: Refactored a lot of code, cleaner logic and syntax, safer variables. - Safer bash options with `set -euo pipefail`, `shopt -s nullglob` and `failglob`. - Added a `default.conf` for user settings - persistent through updates. diff --git a/dockcheck.sh b/dockcheck.sh index e66d393..74f4deb 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -VERSION="v0.6.0" -### ChangeNotes: uservars file added. Lots of code refactoring, please report any bugs. +VERSION="v0.6.1" +### ChangeNotes: Hotfix - bug with xargs pipefail, pkgmanager logic, unbound variables Github="https://github.com/mag37/dockcheck" RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh" -set -euo pipefail +set -uo pipefail shopt -s nullglob shopt -s failglob @@ -326,7 +326,7 @@ else fi # Listing typed exclusions -if [[ -n ${Excludes[*]} ]]; then +if [[ -n ${Excludes[*]:-} ]]; then printf "\n%bExcluding these names:%b\n" "$c_blue" "$c_reset" printf "%s\n" "${Excludes[@]}" printf "\n"