diff -Nru bluetooth-touch-0.3.1/debian/bluetooth-touch.conf bluetooth-touch-0.3.2/debian/bluetooth-touch.conf
--- bluetooth-touch-0.3.1/debian/bluetooth-touch.conf 2014-02-26 20:37:34.000000000 +0100
+++ bluetooth-touch-0.3.2/debian/bluetooth-touch.conf 2015-08-10 12:18:04.000000000 +0200
@@ -13,7 +13,7 @@
script
if [ -x `which getprop` ]; then
device=`getprop ro.product.device`
- if [ $device != "" ]; then
+ if [ $device != "" ] && [ -e /etc/init/bluetooth-touch-$device.conf ] ; then
start bluetooth-touch-$device
fi
fi
diff -Nru bluetooth-touch-0.3.1/debian/changelog bluetooth-touch-0.3.2/debian/changelog
--- bluetooth-touch-0.3.1/debian/changelog 2015-01-16 21:35:26.000000000 +0100
+++ bluetooth-touch-0.3.2/debian/changelog 2015-08-10 12:18:51.000000000 +0200
@@ -1,3 +1,10 @@
+bluetooth-touch (0.3.2) wily; urgency=medium
+
+ * Check for device specific upstart job before starting it to prevent
+ failed job launches
+
+ -- Simon Fels <simon.fels@canonical.com> Mon, 10 Aug 2015 12:18:20 +0200
+
bluetooth-touch (0.3.1) vivid; urgency=medium
* Adding missing +x to the scripts, otherwise every bluetooth touch