source: trunk/debathena/config/reactivate/debian/dbus-daemon-launch-helper @ 25453

Revision 25453, 304 bytes checked in by jdreed, 13 years ago (diff)
Make executables executable (how did this ever work?)
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3if hash schroot >/dev/null 2>&1; then
4    session=$(schroot -l --all-sessions)
5fi
6
7if [ -n "$session" ] && [ "$(echo "$session" | wc -l)" -eq 1 ]; then
8    exec schroot -r -c "$session" /lib/dbus-1.0/dbus-daemon-launch-helper "$@"
9else
10    exec /lib/dbus-1.0/dbus-daemon-launch-helper "$@"
11fi
Note: See TracBrowser for help on using the repository browser.