diff --git a/webmin/webmin-lib.pl b/webmin/webmin-lib.pl index 42987a7c9..5494e6058 100755 --- a/webmin/webmin-lib.pl +++ b/webmin/webmin-lib.pl @@ -764,6 +764,8 @@ Rounds a version number down to the nearest .01 =cut sub base_version { +#remove waning about (possible) postfixes from update-from-repo.sh +$_[0] =~ s/[-a-z:_].*//gi; return sprintf("%.2f0", $_[0]); }