# /etc/apt/apt.conf.d/99sd-debian-hook

# Call sd-debian after package upgrades/installations/removes.
# Should only be triggered if there was no error during installation.
DPkg::Post-Invoke {"if [ -x /usr/libexec/sd-debian/hooks/apt_dpkg-post-invoke ]; then /usr/libexec/sd-debian/hooks/apt_dpkg-post-invoke; fi";};

# Call sd-debian update when updating package list.
APT::Update::Post-Invoke-Success {"if [ -x /usr/libexec/sd-debian/hooks/apt_apt-update-post-invoke-success ]; then /usr/libexec/sd-debian/hooks/apt_apt-update-post-invoke-success; fi";};
