28.1.6
by Sebastian Heinlein
Reload dbus configuration after installing and removing |
1 |
#!/bin/sh
|
2 |
# postinst script for packagekit
|
|
3 |
||
4 |
set -e
|
|
5 |
||
65.1.2
by Sebastian Heinlein
Quit the daemon in the postinst and trigger this operation if backends changed |
6 |
if [ -x /etc/init.d/dbus ]; then |
7 |
invoke-rc.d dbus force-reload || true |
|
8 |
fi
|
|
28.1.6
by Sebastian Heinlein
Reload dbus configuration after installing and removing |
9 |
|
65.1.2
by Sebastian Heinlein
Quit the daemon in the postinst and trigger this operation if backends changed |
10 |
if [ -x /usr/bin/dbus-send ]; then |
11 |
/usr/bin/dbus-send --system --dest=org.freedesktop.PackageKit \ |
|
12 |
--type=method_call \ |
|
13 |
/org/freedesktop/PackageKit \
|
|
137
by Steve Langasek
debian/packagekit.postinst: ignore errors from dbus-send, there's no |
14 |
org.freedesktop.PackageKit.SuggestDaemonQuit || true |
28.1.6
by Sebastian Heinlein
Reload dbus configuration after installing and removing |
15 |
fi
|
16 |
||
17 |
#DEBHELPER#
|
|
18 |
||
19 |
exit 0 |
|
20 |