Comment 3 for bug 600499

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks for the patch. Just a couple of comments though:

@@ -28,7 +28,7 @@
   --enable-ofono \
                 $(NULL)

-DEB_DH_INSTALLINIT_ARGS := --onlyscripts -- start 28 2 3 4 5 .
+DEB_DH_INSTALLINIT_ARGS :=

 DEB_DH_MAKESHLIBS_ARGS_ALL := -X/usr/lib/connman/

I think we can just get rid of this line entirely

+case "$1" in
+install|upgrade)
+ if dpkg --compare-versions "$2" le "0.55-0ubuntu2"; then
+ rm_conffile mypackage "/etc/default/connman"
+ fi
+esac

Small copy/paste error - the "mypackage" should say "connman".

I'll fix those before I upload though