From e76f705b221935c5248e95bda9c8b8b8b2ac32b4 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 14 Jul 2019 22:31:46 -0700 Subject: [PATCH] fix install.sh for deb --- integrations/inputunifi/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/inputunifi/scripts/install.sh b/integrations/inputunifi/scripts/install.sh index 4ad62388..8d32ea0a 100755 --- a/integrations/inputunifi/scripts/install.sh +++ b/integrations/inputunifi/scripts/install.sh @@ -67,7 +67,7 @@ if [ "$CMD" = "" ]; then fi # Grab latest release file from github. -URL=$($CMD ${LATEST} | egrep "browser_download_url.*\.(${ARCH})\.${FILE}\"" | cut -d\" -f 4) +URL=$($CMD ${LATEST} | egrep "browser_download_url.*(${ARCH})\.${FILE}\"" | cut -d\" -f 4) if [ "$?" != "0" ] || [ "$URL" = "" ]; then echo "Error locating latest release at ${LATEST}"