ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/gnome-shell.postinst

19 lines
440 B
Bash
Executable File

#!/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