Update file executable_install-program
This commit is contained in:
parent
9239a2c483
commit
f96b66a11f
1 changed files with 3 additions and 0 deletions
|
@ -624,6 +624,9 @@ async function beforeInstall(packageManager) {
|
||||||
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', `sudo apt-get update`)
|
||||||
|
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