diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/cloud-init.postinst | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 7f50b6fd..b2794953 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +cloud-init (0.7.7~bzr1192-0ubuntu2) xenial; urgency=medium + + [Logan Rosen] + * debian/cloud-init.postinst: fix shell syntax in upgrade (LP: #1564187) + + -- Scott Moser <smoser@ubuntu.com> Thu, 31 Mar 2016 10:09:09 -0400 + cloud-init (0.7.7~bzr1192-0ubuntu1) xenial; urgency=medium * New upstream snapshot. diff --git a/debian/cloud-init.postinst b/debian/cloud-init.postinst index dcea5ad7..a36fb248 100644 --- a/debian/cloud-init.postinst +++ b/debian/cloud-init.postinst @@ -203,7 +203,7 @@ cleanup_lp1552999() { disable_network_config_on_upgrade() { local oldver="$1" last_without_net="0.7.7~bzr1182-0ubuntu1" - if ! -f /var/lib/cloud/instance/obj.pkl ; then + if [ ! -f /var/lib/cloud/instance/obj.pkl ]; then # this is a fresh system not one that has been booted. return 0 fi |