Comment 16 for bug 1790613

Revision history for this message
Julian Andres Klode (juliank) wrote :

Of course we do:

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        if [ -d /run/systemd/system ]; then
                systemctl --system daemon-reload >/dev/null || true
                if [ -n "$2" ]; then
                        deb-systemd-invoke try-restart 'packagekit-offline-update.service' 'packagekit.service' >/dev/null || true
                fi
        fi
fi