From dcd535179c28a15c2dc0e37299ccafb844905261 Mon Sep 17 00:00:00 2001 From: ipitio <21136719+ipitio@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:59:20 -0400 Subject: [PATCH] strip prefix --- advanced/Scripts/speedtestmod/mod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/speedtestmod/mod.sh b/advanced/Scripts/speedtestmod/mod.sh index 27d67b9638..e5673653c1 100755 --- a/advanced/Scripts/speedtestmod/mod.sh +++ b/advanced/Scripts/speedtestmod/mod.sh @@ -98,7 +98,7 @@ setCnf() { getCnf() { local value=$(grep "^$2=" $1 | cut -d '=' -f 2) - [ -z "$value" ] && value=$(getVersion $2) + [ -z "$value" ] && value=$(getVersion $(echo $2 | sed 's/^mod-//;s/^org-//')) echo $value }