diff -Nru casper-1.306/debian/changelog casper-1.307/debian/changelog --- casper-1.306/debian/changelog 2012-03-05 20:38:25.000000000 +0000 +++ casper-1.307/debian/changelog 2012-03-09 16:57:45.000000000 +0000 @@ -1,3 +1,11 @@ +casper (1.307) precise; urgency=low + + * Add 50ubiquity-bluetooth-agent to detect ubiquity-bluetooth-agent and + make bluetooth-applet call it instead (using dpkg-divert + ln). + (LP: #644198) + + -- Stéphane Graber Fri, 09 Mar 2012 11:56:44 -0500 + casper (1.306) precise; urgency=low [ Sergey "Shnatsel" Davidoff ] diff -Nru casper-1.306/scripts/casper-bottom/50ubiquity-bluetooth-agent casper-1.307/scripts/casper-bottom/50ubiquity-bluetooth-agent --- casper-1.306/scripts/casper-bottom/50ubiquity-bluetooth-agent 1970-01-01 00:00:00.000000000 +0000 +++ casper-1.307/scripts/casper-bottom/50ubiquity-bluetooth-agent 2012-03-09 16:55:30.000000000 +0000 @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -f /root/usr/bin/ubiquity-bluetooth-agent ] && [ -f /root/usr/bin/bluetooth-applet ]; then + chroot /root dpkg-divert --package casper --divert /usr/bin/bluetooth-applet.orig --rename /usr/bin/bluetooth-applet + ln -s ubiquity-bluetooth-agent /root/usr/bin/bluetooth-applet +fi