From: Jo-Philipp Wich Date: Fri, 10 Feb 2017 10:05:44 +0000 (+0100) Subject: libopkg: run prerm scripts for the old version also on upgrade X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=5d0179bd88a83c5f4d9a3b8393a28f0c6a30d1c1;hp=5d0179bd88a83c5f4d9a3b8393a28f0c6a30d1c1 libopkg: run prerm scripts for the old version also on upgrade 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 Acked-by: Jo-Philipp Wich ---