Skip to content

Commit

Permalink
#- Fixed checkversionnumbers.sh to only check for LAST_STABLE databas…
Browse files Browse the repository at this point in the history
…e updates

#  when it is a final release.
#  (Merged from stable/3.4 (3.4.7) rev. 11673)


git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/stable/3.5@11675 a01eee8c-daba-0310-acae-fa49f3023285
  • Loading branch information
am0s committed May 4, 2005
1 parent cee3a7f commit 70a9e38
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion bin/shell/checkversionnumbers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,30 @@ function check_dbfiles_update
fi
}

if [ "$FINAL" == "true" ]; then
check_dbfiles_update "$FIX"
fi

function check_dbfiles_update_prev
{
if ! grep "array( *'$PREVIOUS_VERSION', *'$VERSION' *)" bin/php/checkdbfiles.php &>/dev/null; then
if [ -z "$1" ]; then
echo "`$SETCOLOR_FAILURE`DB update missing`$SETCOLOR_NORMAL`"
echo "Missing database update entry in `$SETCOLOR_EXE`bin/php/checkdbfiles.sh`$SETCOLOR_NORMAL`"
echo "The \$versions""$MAJOR""$MINOR"" should contain:"
echo ",array( '$PREVIOUS_VERSION', '$VERSION' )"
echo
fi
MAIN_ERROR="1"
[ -n "$EXIT_AT_ONCE" ] && exit 1
if [ -n "$1" ]; then
return 1
fi
fi
}


check_dbfiles_update "$FIX"
check_dbfiles_update_prev "$FIX"

# kernel/classes/ezpackage.php

Expand Down

0 comments on commit 70a9e38

Please sign in to comment.