~indicator-applet-developers/notify-osd/trunk

« back to all changes in this revision

Viewing changes to debian/notify-osd.preinst

  • Committer: Mirco Müller
  • Date: 2009-04-23 14:26:48 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20090423142648-i7mnrg1yolkgt1yz
added examples form development-guidelines

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
set -e
3
 
 
4
 
case "$1" in
5
 
    install|upgrade)
6
 
        # avoid file conflict with notification-daemon
7
 
        dpkg-divert --add --rename --package notify-osd --divert /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd /usr/share/dbus-1/services/org.freedesktop.Notifications.service > /dev/null
8
 
        ;;
9
 
 
10
 
    abort-upgrade)
11
 
        ;;
12
 
 
13
 
    *)
14
 
        echo "postinst called with unknown argument \`$1'" >&2
15
 
        exit 0
16
 
        ;;
17
 
esac
18
 
 
19
 
#DEBHELPER#
20
 
 
21
 
exit 0
22
 
 
23