updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / udisks-git / udisks.install
blob5ea9e6ee2dc71f1b58dc2ff636c761ec90734e96
1 post_upgrade() {
2   if [ -f /var/run/dbus.pid ]; then
3     kill `pidof /usr/lib/devicekit-disks/devkit-disks-daemon` 2>/dev/null || true
4     kill `pidof /usr/lib/udisks/udisks-daemon` 2>/dev/null || true
6     /etc/rc.d/dbus reload
8     # we ship udev rules, so trigger an update
9     udevadm trigger --subsystem-match=block --action=change
10   fi
13 post_install() {
14   post_upgrade