From 8cccb0bfdfb3427efff4234429e1e35407fb8c3f Mon Sep 17 00:00:00 2001 From: AyushSehrawat Date: Wed, 19 Apr 2023 14:21:19 +0530 Subject: [PATCH] fix: fixed conditional statement in edge update --- neurons/edge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurons/edge.sh b/neurons/edge.sh index a364a29..a6d0935 100644 --- a/neurons/edge.sh +++ b/neurons/edge.sh @@ -41,7 +41,7 @@ case "$1" in ;; -update) echo "Updating package..." - if [ "$ARCH" = "amd64" ]; then + if [ -x "$(command -v dpkg)" ]; then VERSION_URL=$(curl -s https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/ | grep -o '