make defaults configurable

This commit is contained in:
fatalerrors
2026-04-15 13:38:08 +02:00
parent 85f02f4498
commit 9a006883b8
11 changed files with 269 additions and 40 deletions

View File

@@ -39,7 +39,7 @@
# Usage: dpkgs <string>
pkgs()
{
local ignore_case=0
local ignore_case=${PKGS_DEFAULT_IGNORE_CASE:-0}
local PARSED
PARSED=$(getopt -o hi --long help,ignore-case -n 'pkgs' -- "$@")
@@ -96,4 +96,6 @@ export -f pkgs
# ------------------------------------------------------------------------------
load_conf "packages"
# EOF