Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 06:45:51 +00:00
parent 9239a2c483
commit f96b66a11f

View file

@ -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') {