diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index d76399e4..d45a76b6 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -962,8 +962,11 @@ async function ensurePackageManager(packageManager) { const cargo = which.sync('cargo', { nothrow: true }) if (!cargo) { if (osType === 'darwin') { - await $`brew install rustup` - await $`rustup-init` + const rustup = which.sync('rustup-init', { nothrow: true }) + if (!rustup) { + await $`brew install rustup` + } + await $`rustup-init -y` } else if (osType === 'windows') { } else { await ensurePackage('cargo')