File: gnome-shell.postinst

package info (click to toggle)
gnome-shell 50.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 23,516 kB
  • sloc: javascript: 75,567; ansic: 65,750; xml: 1,829; sh: 918; python: 666; makefile: 54
file content (18 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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#