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
Thanks for the patch. Just a couple of comments though:
@@ -28,7 +28,7 @@
$(NULL)
--enable-ofono \
-DEB_DH_ INSTALLINIT_ ARGS := --onlyscripts -- start 28 2 3 4 5 . INSTALLINIT_ ARGS :=
+DEB_DH_
DEB_DH_ MAKESHLIBS_ ARGS_ALL := -X/usr/lib/connman/
I think we can just get rid of this line entirely
+case "$1" in connman"
+install|upgrade)
+ if dpkg --compare-versions "$2" le "0.55-0ubuntu2"; then
+ rm_conffile mypackage "/etc/default/
+ fi
+esac
Small copy/paste error - the "mypackage" should say "connman".
I'll fix those before I upload though