Update .local/share/chezmoi/home/dot_local/bin/executable_install-program

This commit is contained in:
Brian Zalewski 2022-12-02 14:11:26 +00:00
parent e4faee946e
commit 689cc4ee0e

View file

@ -255,7 +255,7 @@ async function ensureInstalled(bin, callback) {
} else { } else {
await $`logg warn '\`${bin}\` is not installed!'` await $`logg warn '\`${bin}\` is not installed!'`
if (callback) { if (callback) {
await $`${callback}` await $`eval ${callback}`
} else { } else {
await $`logg error 'There does not appear to be an installation method available for \`${bin}\`'` await $`logg error 'There does not appear to be an installation method available for \`${bin}\`'`
} }
@ -432,7 +432,7 @@ async function ensurePackageManager(packageManager) {
await ensureInstalled('pkg', false) await ensureInstalled('pkg', false)
} else if (packageManager === 'port') { } else if (packageManager === 'port') {
await ensureInstalled('port', ` await ensureInstalled('port', `
echo "TODO - script that installs port on macOS here" echo -n "TODO - script that installs port on macOS here"
`) `)
} else if (packageManager === 'scoop') { } else if (packageManager === 'scoop') {
await ensureInstalled('scoop', ` await ensureInstalled('scoop', `