Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-02-01 21:15:35 +00:00
parent 95fbb5f8f6
commit 0c13e4c332

View file

@ -756,7 +756,7 @@ async function beforeInstall(packageManager) {
} else if (packageManager === 'flatpak') { } else if (packageManager === 'flatpak') {
// TODO - figure out why CentOS is failing to update // TODO - figure out why CentOS is failing to update
// and then switch command below for `sudo flatpak update -y` // and then switch command below for `sudo flatpak update -y`
runCommand('Running flatpak update', `. /etc/os-release && if [ "$ID" != 'centos' ]; then sudo flatpak update -y; fi`) runCommand('Running flatpak update', `. /etc/os-release; if [ "$ID" != "centos" ]; then sudo flatpak update -y; else echo "Skipping Flatpak update on CentOS"; fi`)
} else if (packageManager === 'gem') { } else if (packageManager === 'gem') {
} else if (packageManager === 'go') { } else if (packageManager === 'go') {
} else if (packageManager === 'nix') { } else if (packageManager === 'nix') {