diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 0e6ef7ae..144170c6 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -13,7 +13,7 @@ # remove version from filename by stripping the extension strip_ext() { - echo $1 | sed 's/\.[^.]*$//' + echo $1 | sed 's/\.[^.]*$//'| sed 's/[a-z_]*$//' } # find the version from a filename by stripping everything but the extension