libopkg: run prerm scripts for the old version also on upgrade
authorJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 10:05:44 +0000 (11:05 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 10 Feb 2017 10:05:44 +0000 (11:05 +0100)
To make sure we properly restart services on upgrade we need to
call the prerm script of the old package, in case the init script
changes (or vanishes).

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>

No differences found