Update file executable_install-program
This commit is contained in:
parent
f96b66a11f
commit
6fdd99dc30
1 changed files with 1 additions and 4 deletions
|
@ -623,10 +623,7 @@ async function beforeInstall(packageManager) {
|
||||||
} else if (packageManager === 'apk') {
|
} else if (packageManager === 'apk') {
|
||||||
await $`sudo apk update`
|
await $`sudo apk update`
|
||||||
} else if (packageManager === 'apt') {
|
} else if (packageManager === 'apt') {
|
||||||
runCommand('Running apt-get update', `sudo apt-get update`)
|
runCommand('Running apt-get update / upgrade', `sudo apt-get update && sudo apt-get upgrade -y`)
|
||||||
if (fileExists('/var/lib/apt/lists/lock')) {
|
|
||||||
runCommand('Removing /var/lib/apt/lists/lock', `sudo rm /var/lib/apt/lists/lock`)
|
|
||||||
}
|
|
||||||
} else if (packageManager === 'basher') {
|
} else if (packageManager === 'basher') {
|
||||||
} else if (packageManager === 'binary') {
|
} else if (packageManager === 'binary') {
|
||||||
} else if (packageManager === 'brew' || packageManager === 'cask') {
|
} else if (packageManager === 'brew' || packageManager === 'cask') {
|
||||||
|
|
Loading…
Reference in a new issue