mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 10:57:45 +00:00
hotfixes
This commit is contained in:
@@ -21,6 +21,10 @@
|
|||||||
___
|
___
|
||||||
## :bell: Changelog
|
## :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.
|
- **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`.
|
- Safer bash options with `set -euo pipefail`, `shopt -s nullglob` and `failglob`.
|
||||||
- Added a `default.conf` for user settings - persistent through updates.
|
- Added a `default.conf` for user settings - persistent through updates.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
VERSION="v0.6.0"
|
VERSION="v0.6.1"
|
||||||
### ChangeNotes: uservars file added. Lots of code refactoring, please report any bugs.
|
### ChangeNotes: Hotfix - bug with xargs pipefail, pkgmanager logic, unbound variables
|
||||||
Github="https://github.com/mag37/dockcheck"
|
Github="https://github.com/mag37/dockcheck"
|
||||||
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
||||||
|
|
||||||
set -euo pipefail
|
set -uo pipefail
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
shopt -s failglob
|
shopt -s failglob
|
||||||
|
|
||||||
@@ -326,7 +326,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Listing typed exclusions
|
# Listing typed exclusions
|
||||||
if [[ -n ${Excludes[*]} ]]; then
|
if [[ -n ${Excludes[*]:-} ]]; then
|
||||||
printf "\n%bExcluding these names:%b\n" "$c_blue" "$c_reset"
|
printf "\n%bExcluding these names:%b\n" "$c_blue" "$c_reset"
|
||||||
printf "%s\n" "${Excludes[@]}"
|
printf "%s\n" "${Excludes[@]}"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user