Update .local/share/chezmoi/home/dot_local/bin/executable_install-program
This commit is contained in:
parent
e4faee946e
commit
689cc4ee0e
1 changed files with 2 additions and 2 deletions
|
@ -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', `
|
||||||
|
|
Loading…
Reference in a new issue