~ara/notify-osd/packaging

« back to all changes in this revision

Viewing changes to notify-osd.preinst

  • Committer: Ara Pulido
  • Date: 2009-09-01 15:02:06 UTC
  • Revision ID: ara@ubuntu.com-20090901150206-5gappi2ehfid11lg
Notify OSD packaging

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