Closes #4204
git-svn-id: http://svn.osgeo.org/postgis/trunk@16924
b70326c6-7e19-0410-871a-
916f4a2858ee
for fname in unpackaged $files; do
from_version="$fname"
# only consider versions older than ${to_version}
- cmp=`semver_compare "${from_version}" "${to_version}"`
- if test $cmp -ge 0; then
- continue
+ if test $fname != "unpackaged"; then # unpackaged is always older
+ cmp=`semver_compare "${from_version}" "${to_version}"`
+ if test $cmp -ge 0; then
+ continue
+ fi
fi
UPGRADE_PATH="${from_version}--${to_version}"
if test -e ${EXT}--${UPGRADE_PATH}.sql; then