Update file executable_install-program
This commit is contained in:
parent
71b1ccec3f
commit
c0dbf13b8b
1 changed files with 2 additions and 2 deletions
|
@ -1183,7 +1183,7 @@ async function installPackageList(packageManager, packages) {
|
||||||
for (let pkg of packages) {
|
for (let pkg of packages) {
|
||||||
// TODO _snapClassic
|
// TODO _snapClassic
|
||||||
try {
|
try {
|
||||||
await $`sudo snap install -y ${pkg}`
|
await $`sudo snap install ${pkg}`
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log('error', 'Snap Failure', `There was an error installing ${pkg} with snap`)
|
log('error', 'Snap Failure', `There was an error installing ${pkg} with snap`)
|
||||||
}
|
}
|
||||||
|
@ -1199,7 +1199,7 @@ async function installPackageList(packageManager, packages) {
|
||||||
} else if (packageManager === 'snap-classic') {
|
} else if (packageManager === 'snap-classic') {
|
||||||
for (let pkg of packages) {
|
for (let pkg of packages) {
|
||||||
try {
|
try {
|
||||||
await $`sudo snap install --classic -y ${pkg}`
|
await $`sudo snap install --classic ${pkg}`
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log('error', 'Snap Failure', `There was an error installing ${pkg} with snap in classic mode`)
|
log('error', 'Snap Failure', `There was an error installing ${pkg} with snap in classic mode`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue