Skip to content

Commit

Permalink
strip prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio committed Apr 16, 2024
1 parent 54fcf48 commit dcd5351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced/Scripts/speedtestmod/mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit dcd5351

Please sign in to comment.