Show the reboot note only during upgrade
[conv-inbox] / debian / conversations-inbox-widget.preinst
1 #! /bin/sh
2
3 case "$1" in
4     upgrade)
5
6       run-standalone.sh dbus-send \
7           --dest=org.freedesktop.Notifications \
8           /org/freedesktop/Notifications \
9           org.freedesktop.Notifications.SystemNoteInfoprint \
10           string:"Restart device to complete installation"
11     ;;
12
13     install|abort-upgrade)
14
15     ;;
16 esac
17
18 exit 0