summaryrefslogtreecommitdiffstats
path: root/debian/gnome-shell.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:54:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:54:44 +0000
commitc16cb1dcba60b0811b3c46aa4734b998a18fc8dc (patch)
tree43c388f09756344e3f0243122526bcfd61421ee9 /debian/gnome-shell.postinst
parentAdding upstream version 43.9. (diff)
downloadgnome-shell-c16cb1dcba60b0811b3c46aa4734b998a18fc8dc.tar.xz
gnome-shell-c16cb1dcba60b0811b3c46aa4734b998a18fc8dc.zip
Adding debian version 43.9-0+deb12u1.debian/43.9-0+deb12u1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/gnome-shell.postinst')
-rw-r--r--debian/gnome-shell.postinst18
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#