Release version 0.6-2
[vicar] / debian / prerm
old mode 100644 (file)
new mode 100755 (executable)
index 9885c6f..24cf8b8
@@ -20,6 +20,10 @@ set -e
 case "$1" in
     remove|deconfigure)
 
+       eval $(dbus-launch --sh-syntax)
+       export DBUS_SESSION_BUS_ADDRESS
+       export DBUS_SESSION_BUS_PID
+
         echo "Deleting Vicar Telepathy account ..."
         [[ -x /opt/vicar/vicar-utils ]] && su - user -c "exec /opt/vicar/vicar-utils REMOVE"