Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-25 01:01:33 +00:00
parent 7cb99fe1b2
commit fcb563d35f

View file

@ -1117,6 +1117,7 @@ async function ensurePackageManager(packageManager) {
} }
const snap = which.sync('snap', { nothrow: true }) const snap = which.sync('snap', { nothrow: true })
if (snap) { if (snap) {
runCommand('Check info for core snap package', `sudo snap info core`)
runCommand('Ensuring snap core is installed', `sudo snap install core`) runCommand('Ensuring snap core is installed', `sudo snap install core`)
} else { } else {
log('warn', logStage, 'Snap installation sequence completed but the snap bin is still not available') log('warn', logStage, 'Snap installation sequence completed but the snap bin is still not available')