mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-17 01:47:45 +00:00
hotfixes
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user