Update file executable_install-program
This commit is contained in:
parent
7c0c1816e4
commit
29a8c9d235
1 changed files with 8 additions and 2 deletions
|
@ -890,9 +890,15 @@ async function ensurePackageManager(packageManager) {
|
||||||
log('info', logStage, `\`flatpak\` was installed. It may require a reboot to function correctly.`)
|
log('info', logStage, `\`flatpak\` was installed. It may require a reboot to function correctly.`)
|
||||||
}
|
}
|
||||||
} else if (packageManager === 'gem') {
|
} else if (packageManager === 'gem') {
|
||||||
await ensureInstalled('gem', $`brew install ruby`)
|
const gem = which.sync('gem', { nothrow: true })
|
||||||
|
if (!gem) {
|
||||||
|
await ensureInstalled('gem', $`brew install ruby`)
|
||||||
|
}
|
||||||
} else if (packageManager === 'go') {
|
} else if (packageManager === 'go') {
|
||||||
await ensureInstalled('gem', $`brew install go`)
|
const go = which.sync('go', { nothrow: true })
|
||||||
|
if (!go) {
|
||||||
|
await ensureInstalled('go', $`brew install go`)
|
||||||
|
}
|
||||||
} else if (packageManager === 'nix') {
|
} else if (packageManager === 'nix') {
|
||||||
await ensureInstalled(
|
await ensureInstalled(
|
||||||
'nix',
|
'nix',
|
||||||
|
|
Loading…
Reference in a new issue