From 3a18e60684066d5e757c4e8603529f3ba71b816d Mon Sep 17 00:00:00 2001 From: ipitio <21136719+ipitio@users.noreply.github.com> Date: Tue, 16 Apr 2024 00:59:50 +0000 Subject: [PATCH] strip prefix (#105) --- 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 }