This commit is contained in:
mag37 2025-03-30 22:58:47 +02:00
parent 778df1de3c
commit 68ec749c39
2 changed files with 8 additions and 4 deletions

View file

@ -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.

View file

@ -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"