From af24602a50bf06f886832af53d2f3523ceb6daf1 Mon Sep 17 00:00:00 2001
From: Thomas Goirand <thomas@goirand.fr>
Date: Sun, 18 Nov 2012 04:02:25 +0000
Subject: [PATCH] Fixes a syntax error in debian/openstack-dashboard.postinst

Rewritten-From: c7459378aa21a693bb223064c0f8c4c883a17af1
---
 xenial/debian/changelog                    | 6 ++++++
 xenial/debian/openstack-dashboard.postinst | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/xenial/debian/changelog b/xenial/debian/changelog
index f4a8f86..5e82341 100644
--- a/xenial/debian/changelog
+++ b/xenial/debian/changelog
@@ -1,3 +1,9 @@
+horizon (2012.1.1-8) unstable; urgency=low
+
+  * Syntax error in debian/openstack-dashboard.postinst (Closes: #693479).
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 18 Nov 2012 03:59:08 +0000
+
 horizon (2012.1.1-7) unstable; urgency=high
 
   * CVE-2012-5474: The file /etc/openstack-dashboard/local_settings is not
diff --git a/xenial/debian/openstack-dashboard.postinst b/xenial/debian/openstack-dashboard.postinst
index 4c8c9e7..3217828 100644
--- a/xenial/debian/openstack-dashboard.postinst
+++ b/xenial/debian/openstack-dashboard.postinst
@@ -9,7 +9,7 @@ then
         --disabled-password \
         --group horizon
 
-	if[ -r /etc/openstack-dashboard/local_settings.py ] ; then
+	if [ -r /etc/openstack-dashboard/local_settings.py ] ; then
 		chmod 0640 /etc/openstack-dashboard/local_settings.py
 		chown horizon:horizon /etc/openstack-dashboard/local_settings.py
 	fi
-- 
2.45.2