Skip to content

Commit a142545

Browse files
committed
feat: minor change in update of edge
1 parent 8cccb0b commit a142545

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

neurons/edge.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ case "$1" in
4545
VERSION_URL=$(curl -s https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/ | grep -o '<a href="[^"]*deb"' | grep -o '[^"]*deb' | sort -V | tail -n 1)
4646
LATEST_WEB_VERSION=$(basename "$VERSION_URL" | grep -oP "(?<=microsoft-edge-stable_)\d+(\.\d+)+(-\d+)?")
4747
LATEST_LOCAL_VERSION=$(dpkg -s microsoft-edge-stable | grep Version | awk '{print $2}')
48+
elif [ -x "$(command -v rpm)" ]; then
49+
echo "Soon..."
50+
exit 1
4851
fi
4952
echo "Latest web version: $LATEST_WEB_VERSION"
5053
echo "Latest local version: $LATEST_LOCAL_VERSION"

0 commit comments

Comments
 (0)