mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
hotfixes
This commit is contained in:
parent
778df1de3c
commit
68ec749c39
2 changed files with 8 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue