Bug#811391: finish-install.d/07speakup: remove superfluous 'fi' leftover
Control: tags -1 + patch
Attaching patch.
>From 71840fc0f7bcb9c5d80330bb8ccbc1b2e4a673e0 Mon Sep 17 00:00:00 2001
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Date: Mon, 18 Jan 2016 15:23:00 +0100
Subject: [PATCH] speakup: remove superfluous 'fi'
Commit cd6e3cab78fc3 "Enable screen reader in KDE" removed an if
condition but left the 'fi' there. Found this problem by inspecting
the d-i syslog:
Jan 14 15:40:18 finish-install: /usr/lib/finish-install.d/07speakup: line 95:
syntax error: unexpected "fi"
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
---
debian/changelog | 8 ++++++++
finish-install.d/07speakup | 1 -
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ab9d9dd..b59331a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+finish-install (2.59) UNRELEASED; urgency=medium
+
+ [Hendrik Brueckner]
+ * finish-install.d/07speakup: remove superfluous 'fi' leftover
+ (Closes: #811391)
+
+ -- Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Mon, 18 Jan 2016 15:26:04 +0100
+
finish-install (2.58) unstable; urgency=high
[ Steve McIntyre ]
diff --git a/finish-install.d/07speakup b/finish-install.d/07speakup
index 3767cc4..4219dfc 100755
--- a/finish-install.d/07speakup
+++ b/finish-install.d/07speakup
@@ -90,7 +90,6 @@ END
/bin/in-target su -s /bin/sh -c "kwriteconfig --file kaccessibleapp --group Main --key SpeechEnabled 'true'" "$USERNAME" || true
# KDE5
/bin/in-target su -s /bin/sh -c "kwriteconfig5 --file kaccessrc --group ScreenReader --key Enabled 'true'" "$USERNAME" || true
- fi
fi
fi
--
2.6.4
Reply to: