Skip to content

Commit

Permalink
strip prefix (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio authored Apr 16, 2024
1 parent 54fcf48 commit 3a18e60
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 3a18e60

Please sign in to comment.