chore: add gnu-tar dependency on macOS for unarchive support

This commit is contained in:
Haitao Pan 2026-06-21 16:22:03 +08:00
parent 198ca0c88a
commit 2a47f4397a

View File

@ -366,7 +366,7 @@ install_prerequisites() {
fi fi
elif [ "$os" = "darwin" ]; then elif [ "$os" = "darwin" ]; then
if command -v brew >/dev/null 2>&1; then if command -v brew >/dev/null 2>&1; then
brew install git ansible brew install git ansible gnu-tar
else else
error "macOS requires git and ansible. Install Homebrew or install them manually, then rerun." error "macOS requires git and ansible. Install Homebrew or install them manually, then rerun."
fi fi