ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/ipp-usb.postinst

16 lines
477 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.6ubuntu1
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
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'ipp-usb.service' >/dev/null || true
fi
fi
# End automatically added section