refactor(tools): move module generation tooling into setup/tools/
sync-modules.sh and generate-modules.sh are developer tooling, not part of the installer runtime — same rationale as freeipa-image.sh. Update SETUP_DIR paths in both scripts to resolve correctly from the new location. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
5647852ee6
commit
8e9c460713
|
|
@ -11,10 +11,11 @@
|
|||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
CONF="$SCRIPT_DIR/modules.conf"
|
||||
TUI="$SCRIPT_DIR/tui-install.sh"
|
||||
AF="$SCRIPT_DIR/generate-answerfile.sh"
|
||||
DOCS="$SCRIPT_DIR/../docs/md/modules.md"
|
||||
SETUP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
CONF="$SETUP_DIR/modules.conf"
|
||||
TUI="$SETUP_DIR/tui-install.sh"
|
||||
AF="$SETUP_DIR/generate-answerfile.sh"
|
||||
DOCS="$SETUP_DIR/../docs/md/modules.md"
|
||||
|
||||
DRY_RUN=false
|
||||
[[ "${1:-}" == "--dry-run" ]] && DRY_RUN=true
|
||||
|
|
@ -4,8 +4,9 @@
|
|||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
CONF="$SCRIPT_DIR/modules.conf"
|
||||
APPS="$SCRIPT_DIR/modules/optional-Modules/apps"
|
||||
SETUP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
CONF="$SETUP_DIR/modules.conf"
|
||||
APPS="$SETUP_DIR/modules/optional-Modules/apps"
|
||||
|
||||
# Read all existing IDs from modules.conf into a set.
|
||||
declare -A known
|
||||
Loading…
Reference in New Issue