diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:23 +0000 |
commit | 4e1432299981d8a5a5f69114476645f30b3d42e0 (patch) | |
tree | 73bb8cf8ccab0e787c147ddb4bc4ab793d586842 /debian/gnome-shell.postinst | |
parent | Adding upstream version 3.38.6. (diff) | |
download | gnome-shell-debian/3.38.6-1_deb11u1.tar.xz gnome-shell-debian/3.38.6-1_deb11u1.zip |
Adding debian version 3.38.6-1~deb11u1.debian/3.38.6-1_deb11u1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/gnome-shell.postinst')
-rw-r--r-- | debian/gnome-shell.postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/gnome-shell.postinst b/debian/gnome-shell.postinst new file mode 100644 index 0000000..a2c32fc --- /dev/null +++ b/debian/gnome-shell.postinst @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + # trigger an update notification that recommends a reboot + # (used by unattended-upgrades etc.) + touch /var/run/reboot-required || true + + # same thing for the older update-notifier interface + if [ -x /usr/share/update-notifier/notify-reboot-required ]; then + /usr/share/update-notifier/notify-reboot-required || true + fi + ;; +esac + +#DEBHELPER# |