update-rc.d.bbclass: make prerm and postrm dpkg-compatible
authorJeremy Lainé <jeremy.laine@m4x.org>
Mon, 26 Oct 2009 08:49:20 +0000 (09:49 +0100)
committerJeremy Lainé <jeremy.laine@m4x.org>
Mon, 26 Oct 2009 08:49:20 +0000 (09:49 +0100)
commit1f7a632a9689fb9b6e03eefd0781f3e39c6f12e5
tree80b4371754e05b54aa8104821c82d0b2f4a33f8a
parent3b408bf7c83901c6fec4a1c6be0205cb22f251c1
update-rc.d.bbclass: make prerm and postrm dpkg-compatible

* prerm : only stop service at the "upgrade" and "remove" steps
* postrm : only remove symlinks at the "remove" and "purge" steps, after
  checking the init script no longer exists
classes/update-rc.d.bbclass