From ce204accb7f15a46d4e057f9db7873cc64aa25ae Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 16 Mar 2021 15:19:14 -0500 Subject: [PATCH] zoom app fix checking for box86 binary --- apps/Zoom/install-32 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/Zoom/install-32 b/apps/Zoom/install-32 index 92d8649..95aea07 100755 --- a/apps/Zoom/install-32 +++ b/apps/Zoom/install-32 @@ -44,13 +44,13 @@ echo -e "\e[102m\e[30mLaunching Zoom.\e[0m" box86 zoom' > "${HOME}/zoom/runzoom.sh" chmod +x "${HOME}/zoom/runzoom.sh" -if [ -f /usr/local/bin/box86 ];then +if command -v box86 >/dev/null;then echo "Updating box86..." else echo "Installing box86..." fi "${DIRECTORY}/manage" install-if-not-installed 'Box86' || error "Box86 installation failed!" -if [ ! -f /usr/local/bin/box86 ];then +if ! command -v box86 >/dev/null;then error "Box86 failed to install somehow!\n/usr/local/bin/box86 does not exist" fi