From 4ba300176639204abe07c74a84b220d2ca2d0301 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 20 Oct 2026 12:52:37 +0200 Subject: sbshadow: regenerate phantom-dep hints with sbb-remote, not mkhint sb-builder's helper now owns the phantom deps list and the sweep (fix-current-now, mkhint -F's port). Still skipped on --no. Co-Authored-By: Claude Opus 5.5 --- sbshadow | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sbshadow') diff --git a/sbshadow b/sbshadow index 7d20edd..5959f63 100755 --- a/sbshadow +++ b/sbshadow @@ -10,7 +10,7 @@ # Shadow: upstream package whose name matches a personal/pentesting package is # git rm'd. Unshadow: upstream package no longer carried there is restored from # the pristine $UPSTREAM branch that danix-current was cut from. Then regenerates -# phantom-dep hintfiles with mkhint -F. +# phantom-dep hintfiles with sb-builder's helper (sbb-remote fix-current-now). # # Called by slackrepo_setup_SBo-danix.sh and by sbpull after a subtree pull. # @@ -76,17 +76,17 @@ else fi fi -# ── regenerate phantom-dep hintfiles (mkhint owns them) ─────────────────────── +# ── regenerate phantom-dep hintfiles (sb-builder's helper owns them) ───────── # Runs even with nothing to shadow (a subtree pull can change REQUIRES), but # not on --no: a preview leaves the hints alone too. -# mkhint reads ~/.config/mkhint/phantom-deps; missing tool = harmless skip. +# The list is the helper's phantom_deps_file; missing helper = harmless skip. if [[ $answer == n ]]; then echo echo "sbshadow: preview, phantom-dep hintfiles not regenerated." -elif command -v mkhint >/dev/null 2>&1; then +elif command -v sbb-remote >/dev/null 2>&1; then echo - echo "Regenerating phantom-dep hintfiles (mkhint -F)..." - mkhint -F + echo "Regenerating phantom-dep hintfiles (sbb-remote fix-current-now)..." + sbb-remote fix-current-now else - echo "NOTE: mkhint not found; skipping hintfile regen. Run 'mkhint -F' manually." >&2 + echo "NOTE: sbb-remote not found; skipping hintfile regen." >&2 fi -- cgit v1.2.3