Update file executable_install-program
This commit is contained in:
parent
b6f30d19f1
commit
552bed004c
1 changed files with 6 additions and 6 deletions
|
@ -994,14 +994,14 @@ async function ensurePackageManager(packageManager) {
|
|||
} else if (zypper) {
|
||||
await $`sudo zypper install -y flatpak`
|
||||
}
|
||||
const flatpakPost = which.sync('flatpak', { nothrow: true })
|
||||
if (flatpakPost) {
|
||||
await $`sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`
|
||||
} else {
|
||||
log('error', logStage, `\`flatpak\` failed to install!`)
|
||||
}
|
||||
log('info', logStage, `\`flatpak\` was installed. It may require a reboot to function correctly.`)
|
||||
}
|
||||
const flatpakPost = which.sync('flatpak', { nothrow: true })
|
||||
if (flatpakPost) {
|
||||
await $`sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`
|
||||
} else {
|
||||
log('error', logStage, `\`flatpak\` failed to install!`)
|
||||
}
|
||||
} else if (packageManager === 'gem') {
|
||||
const gem = which.sync('gem', { nothrow: true })
|
||||
if (!gem) {
|
||||
|
|
Loading…
Reference in a new issue