Depending on Skype and enhanced install scripts
[skype-autolauncher:skype-autolauncher.git] / debian / prerm
1 #!/bin/sh -e
2 set -e
3
4 #DEBHELPER#
5
6 # Get OSSO environment variables (launchers, dbus bus, etc)
7 if [ -f /etc/osso-af-init/af-defines.sh ]; then
8   source /etc/osso-af-init/af-defines.sh
9 fi
10
11 dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Stopping skype autolauncher.
12 This may close any Skype instance."
13
14 sleep 2
15
16 exit 0