Update home/.local/bin/installx
This commit is contained in:
parent
3a91c53e75
commit
05a84092a2
1 changed files with 5 additions and 1 deletions
|
@ -389,7 +389,11 @@ async function installPackages(pkgInstructions) {
|
||||||
log(`Performing ${promises.length} installations`)
|
log(`Performing ${promises.length} installations`)
|
||||||
process.env.DEBUG && console.log('Queued installs:', promises)
|
process.env.DEBUG && console.log('Queued installs:', promises)
|
||||||
// const installs = await Promise.allSettled(promises)
|
// const installs = await Promise.allSettled(promises)
|
||||||
const installs = await parallelLimit(promises, 5)
|
|
||||||
|
for (const cmd of promises) {
|
||||||
|
await cmd
|
||||||
|
}
|
||||||
|
|
||||||
log(`All of the installations have finished`)
|
log(`All of the installations have finished`)
|
||||||
process.env.DEBUG && console.log('Completed installs:', installs)
|
process.env.DEBUG && console.log('Completed installs:', installs)
|
||||||
await postInstall(combined)
|
await postInstall(combined)
|
||||||
|
|
Loading…
Reference in a new issue