File: dbus-helper

package info (click to toggle)
update-notifier 0.99.3debian8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,124 kB
  • ctags: 262
  • sloc: ansic: 2,489; sh: 1,212; python: 206; makefile: 66
file content (8 lines) | stat: -rwxr-xr-x 156 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/sh

if test -n "$2"; then
    gksudo --message "<b>$2</b>" -- "$1"
else
    gksudo -- "$1"
fi
dbus-send --system / app.apt.dbus.changed boolean:true