fixup_stuff prettytable min version

The minimum prettytable version is changed from 0.6 to 0.7
 in the global requirements.

If the system has an older prettytable version the fixup_stuff does not
takes effect in time, because at fixup time the system has the old
version.

Ensure the fixup installs the minimum required version in time.

Change-Id: If1737dacb25db73b68e707953d05576ad8a97da7
This commit is contained in:
Attila Fazekas 2013-11-24 18:53:20 +01:00
parent ed727dc6d9
commit 3a82319ad7

View File

@ -51,7 +51,7 @@ function get_package_path() {
# Fix prettytable 0.7.2 permissions # Fix prettytable 0.7.2 permissions
# Don't specify --upgrade so we use the existing package if present # Don't specify --upgrade so we use the existing package if present
pip_install prettytable pip_install 'prettytable>0.7'
PACKAGE_DIR=$(get_package_path prettytable) PACKAGE_DIR=$(get_package_path prettytable)
# Only fix version 0.7.2 # Only fix version 0.7.2
dir=$(echo $PACKAGE_DIR/prettytable-0.7.2*) dir=$(echo $PACKAGE_DIR/prettytable-0.7.2*)