From 02dbe5e0eb16b260f1f4e7da905373987a9260be Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Sat, 18 Nov 2023 19:23:23 -0600 Subject: [PATCH] Replaced manual retrieval of remote version with function call --- install-discord-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-discord-linux.sh b/install-discord-linux.sh index a6f8701..44937aa 100755 --- a/install-discord-linux.sh +++ b/install-discord-linux.sh @@ -141,7 +141,7 @@ else ACTION=INSTALL fi -REMOTE_VERSION=`curl $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1` +REMOTE_VERSION=`get_remote_version` # END: Pre-Work Check