#! /bin/sh
case "$1" in
- install|upgrade)
+ upgrade)
- echo "Restarting hildon-home."
- killall hildon-home
- rm -f "/tmp/hildon-desktop/hildon-home.stamp"
+ run-standalone.sh dbus-send \
+ --dest=org.freedesktop.Notifications \
+ /org/freedesktop/Notifications \
+ org.freedesktop.Notifications.SystemNoteInfoprint \
+ string:"Restart device to complete installation"
;;
- abort-upgrade)
+ install|abort-upgrade)
;;
esac