From 3e3ca67cb9bee0a6c680b622ff0aea1766c8829f Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Wed, 22 May 2013 13:59:46 -0700 Subject: [PATCH] Inspect correct package when determining installed version. --- hooks/swift-storage-node-relations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/swift-storage-node-relations b/hooks/swift-storage-node-relations index cf1b409..e4b4433 100755 --- a/hooks/swift-storage-node-relations +++ b/hooks/swift-storage-node-relations @@ -14,7 +14,7 @@ fi function config_changed { # perform openstack upgrade if openstack-origin has been bumped. local install_src=$(config-get openstack-origin) - local cur=$(get_os_codename_package "glance-common") + local cur=$(get_os_codename_package "python-swift") local available=$(get_os_codename_install_source "$install_src") if [[ "$available" != "unknown" ]] ; then if dpkg --compare-versions $(get_os_version_codename "$cur") lt \