Update .local/share/chezmoi/home/dot_local/bin/executable_install-program
This commit is contained in:
parent
38d22a1239
commit
806fec863a
1 changed files with 21 additions and 18 deletions
|
@ -310,6 +310,8 @@ async function ensurePackageManager(packageManager) {
|
|||
echo "Bash script that installs bpkg here"
|
||||
`)
|
||||
} else if (packageManager === 'brew' || packageManager === 'cask') {
|
||||
const brew = which.sync('brew', { nothrow: true })
|
||||
if (!brew) {
|
||||
await ensureInstalled('brew', $`
|
||||
if command -v sudo > /dev/null && sudo -n true; then
|
||||
echo | bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
@ -330,6 +332,7 @@ async function ensurePackageManager(packageManager) {
|
|||
fi
|
||||
fi
|
||||
`)
|
||||
}
|
||||
} else if (packageManager === 'cargo') {
|
||||
await ensureInstalled('cargo', $`
|
||||
# TODO Bash script that installs cargo
|
||||
|
|
Loading…
Reference in a new issue