feat(install): support local source archive path in TACHYON_SOURCE_URL
Build packages / Setup build version (push) Failing after 3s
Build packages / Build Tachyon release packages (push) Skipped
Build packages / Create Release (push) Skipped
Differential ShellCheck / Differential ShellCheck (push) Failing after 15s

This commit is contained in:
2026-09-17 14:42:55 +03:00
parent 4dffe584b7
commit aa27ac8a13
+9 -1
View File
@@ -3079,7 +3079,15 @@ source_install_from_repo() {
_archive_file="${TMP_DIR:-/tmp}/neotachyon-src.tar.gz" _archive_file="${TMP_DIR:-/tmp}/neotachyon-src.tar.gz"
_src_dir="${TMP_DIR:-/tmp}/neotachyon-src" _src_dir="${TMP_DIR:-/tmp}/neotachyon-src"
download_file_once "$_archive_url" "$_archive_file" || fail "Failed to download the source archive from ${_archive_url}" case "$_archive_url" in
/*|./*|../*)
# Local path: use it as-is (e.g. pre-transferred tarball).
_archive_file="$_archive_url"
;;
*)
download_file_once "$_archive_url" "$_archive_file" || fail "Failed to download the source archive from ${_archive_url}"
;;
esac
rm -rf "$_src_dir" rm -rf "$_src_dir"
mkdir -p "$_src_dir" mkdir -p "$_src_dir"