diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-13 17:01:11 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-13 17:01:11 +0200 |
| commit | 8559ce21005606e5be682b6d2dfa75d90601eaa2 (patch) | |
| tree | 6b59c4eba526a970cb46945b4d7cd0c1ab2c2de5 | |
| parent | d11b8be143998ea7349808b9e9da68139399aace (diff) | |
| download | mkhintfile-8559ce21005606e5be682b6d2dfa75d90601eaa2.tar.gz mkhintfile-8559ce21005606e5be682b6d2dfa75d90601eaa2.zip | |
feat: add NVCHECKER_CONFIG constant and help text for nvchecker features
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| -rwxr-xr-x | mkhint | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -19,6 +19,7 @@ set -e REPO_DIR="/var/lib/sbopkg/SBo-danix/" HINT_DIR="/etc/slackrepo/SBo-danix/hintfiles/" TMP_DIR="/tmp/mkhint" +NVCHECKER_CONFIG="$HOME/.config/nvchecker/nvchecker.toml" # create the temp dir if not existing if [[ ! -d $TMP_DIR ]]; then @@ -42,6 +43,8 @@ Usage: ./mkhint --version VERSION --hintfile FILE Update existing hint file ./mkhint --version VERSION --new FILE Create new hint file ./mkhint --new FILE Create new hint file (no version) + ./mkhint --hintfile FILE Update hint, suggest latest version via nvchecker + ./mkhint --check [FILE...] Check all (or named) hints for upstream updates ./mkhint --list List hint files ./mkhint --clean Remove .bak files from HINT_DIR ./mkhint --no-dl --hintfile FILE Update hint, skip downloads, add NODOWNLOAD=yes @@ -54,6 +57,7 @@ Options: --new, -n FILE Create new hint file (required with --version or standalone) --list, -l List all hint files in the default directory --clean, -c Remove all .bak files from HINT_DIR + --check, -C [FILE...] Check hints for upstream updates via nvchecker, update interactively --delete, -d FILE Delete a hint file (and .bak if present) --no-dl, -N Skip downloads; add NODOWNLOAD=yes to hint file (use with -f or -n) --help, -h Show this help message @@ -69,7 +73,7 @@ Exit codes: 1 - Invalid arguments or missing required options 2 - File not found 3 - File already exists - 4 - wget not available + 4 - required tool not available (wget / nvchecker / nvtake / jq) EOF } |
