#!/bin/sh -eif["$1"="upgrade"];thenif[-d /run/systemd/system ];thenif[-n"$2"];then# special case to handle <= 0.7.3 versions of the deb package# failing to stop krill in the prerm script so we handle it in the# >= 0.7.3 preinst script instead.case$2in0.7.0*|0.7.1*|0.7.2*|0.7.3*)deb-systemd-invoke stop krill.service >/dev/null||true;;esacfififi#DEBHELPER#