diff options
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 45292dea..0ad98de6 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -875,7 +875,7 @@ function updateDatabase() $OPENGNSYS_DATABASE-$OLDVERSION-*.sql) # Actualización de versión n a n+1. FILES="$FILES $file" - OLDVERSION="$(echo $file | cut -f3 -d-)" + OLDVERSION="$(echo ${file%.*} | cut -f3 -d-)" ;; $OPENGNSYS_DATABASE-*-$NEWVERSION.sql) # Última actualización de versión final-1 a final. |