scripts/source/fetch.sh (sourced at runtime via files_source.sh): - lpFetchRelease [ver]: resolve channel manifest -> download tarball -> VERIFY sha256 (refuse on mismatch/absence) -> replace the install tree ( is code-only now; configs/logs live in the separate system tree, so no backup dance). Host/channel from LP_RELEASE_BASE_URL/CFG_RELEASE_BASE_URL + channel. - lpFetchSource: dispatch release|git|local. - lpVersionGt: numeric dotted semver compare (used by the updater + badge). init.sh initGIT is now release-aware: the bootstrap (install.sh) stages+verifies the code and sets LP_ALREADY_FETCHED=1 (skip re-fetch); a direct release run sources fetch.sh; a bare /root reinstall is directed to install.sh. install.sh exports LP_ALREADY_FETCHED + LP_RELEASE_BASE_URL on hand-off. validateUnattended already accepts release (git-url is gated on git mode). Config: CFG_INSTALL_MODE default -> release, + CFG_RELEASE_BASE_URL / CFG_RELEASE_CHANNEL (add-only reconcile preserves existing installs' git/local mode). Verified: lpVersionGt across cases; lpFetchRelease downloads+verifies+extracts a clean tree against a local server. The updater + reset/reinstall release paths are phase D. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
35 lines
1.2 KiB
Bash
Executable File
35 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This file is auto-generated by generate_arrays.sh
|
|
# Do not edit manually - run './scripts/source/files/generate_arrays.sh run' to regenerate
|
|
|
|
source_scripts=(
|
|
"source/fetch.sh"
|
|
"source/files/arrays/files_app.sh"
|
|
"source/files/arrays/files_backup.sh"
|
|
"source/files/arrays/files_checks.sh"
|
|
"source/files/arrays/files_cli.sh"
|
|
"source/files/arrays/files_config.sh"
|
|
"source/files/arrays/files_crontab.sh"
|
|
"source/files/arrays/files_database.sh"
|
|
"source/files/arrays/files_docker.sh"
|
|
"source/files/arrays/files_function.sh"
|
|
"source/files/arrays/files_gluetun.sh"
|
|
"source/files/arrays/files_headscale.sh"
|
|
"source/files/arrays/files_install.sh"
|
|
"source/files/arrays/files_logs.sh"
|
|
"source/files/arrays/files_menu.sh"
|
|
"source/files/arrays/files_migrate.sh"
|
|
"source/files/arrays/files_network.sh"
|
|
"source/files/arrays/files_os.sh"
|
|
"source/files/arrays/files_release.sh"
|
|
"source/files/arrays/files_restore.sh"
|
|
"source/files/arrays/files_setup.sh"
|
|
"source/files/arrays/files_source.sh"
|
|
"source/files/arrays/files_ssh.sh"
|
|
"source/files/arrays/files_start.sh"
|
|
"source/files/arrays/files_update.sh"
|
|
"source/files/arrays/files_webui.sh"
|
|
|
|
)
|