From 4cab24857d423bb135b2a856a7edfa476374c98a Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 9 Nov 2012 13:21:55 +0000 Subject: [PATCH] Fix #1372 --- install/upgrade_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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