From 159beb81c02e03742cc093a52c2462ea330fe0af Mon Sep 17 00:00:00 2001 From: arko33 <221298156+arko33@users.noreply.github.com> Date: Thu, 22 Oct 2026 00:45:01 +0700 Subject: [PATCH] =?UTF-8?q?fix(install.sh):=20search=20depth=203=20?= =?UTF-8?q?=E2=80=94=20tarball=20root=20wraps=20the=20repo=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ghost/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ghost/install.sh b/packages/ghost/install.sh index 5aa6720..ef9636e 100644 --- a/packages/ghost/install.sh +++ b/packages/ghost/install.sh @@ -15,7 +15,7 @@ echo "==> Downloading Ghost recorder (branch: ${REF})" curl -fsSL "https://codeload.github.com/${REPO}/tar.gz/refs/heads/${REF}" -o "$TMP/ghost.tar.gz" tar -xzf "$TMP/ghost.tar.gz" -C "$TMP" -SRC="$(find "$TMP" -maxdepth 2 -type d -path '*packages/ghost')" +SRC="$(find "$TMP" -maxdepth 3 -type d -path '*packages/ghost')" if [ -z "$SRC" ]; then echo "x packages/ghost not found in tarball" >&2 exit 1