Skip to content

Commit

Permalink
Execute command substitution bash instead of deno_task_shell
Browse files Browse the repository at this point in the history
  • Loading branch information
mono0x committed Jun 26, 2024
1 parent 1ae14db commit b3aad15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ async function setupUnix(os: "linux" | "darwin") {
console.log("Installing Homebrew");

if (!await fs.exists(brew)) {
await $`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`;
await $`/bin/bash`
.stdinText(`
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
`);
}

console.log("Installing and initializing chezmoi");
Expand Down

0 comments on commit b3aad15

Please sign in to comment.