This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/kernel/postinst.d/unattended-upgrades
caelebfi 99840ddb38 committing changes in /etc made by "apt-get --yes --no-install-recommends install unattended-upgrades"
Packages with configuration changes:
+unattended-upgrades 2.8 all

Package changes:
+python3-dbus 1.2.16-5 armhf
+python3-distro-info 1.0 all
+unattended-upgrades 2.8 all
2022-01-24 09:17:11 +01:00

14 lines
364 B
Bash
Executable File

#!/bin/sh
case "$DPKG_MAINTSCRIPT_PACKAGE::$DPKG_MAINTSCRIPT_NAME" in
linux-image-extra*::postrm)
exit 0;;
esac
if [ -d /var/run ]; then
touch /var/run/reboot-required
if ! grep -q "^$DPKG_MAINTSCRIPT_PACKAGE$" /var/run/reboot-required.pkgs 2> /dev/null ; then
echo "$DPKG_MAINTSCRIPT_PACKAGE" >> /var/run/reboot-required.pkgs
fi
fi