From 0c13e4c332c2038d95c98e99cadd372288c3a815 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 1 Feb 2023 21:15:35 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 61f2ab48..ccbc7f3f 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -756,7 +756,7 @@ async function beforeInstall(packageManager) { } else if (packageManager === 'flatpak') { // TODO - figure out why CentOS is failing to update // 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 === 'go') { } else if (packageManager === 'nix') {