view scripts/dbus/dbus-launch.sh @ 156:0a92bb60db12

flatpak (build_manifest): Mercurial repository is now updated if it is already cloned
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2019 15:21:43 +0200
parents 703a394b9780
children
line wrap: on
line source

#!/bin/sh

DBUS_PATH="/tmp/.dbus.`whoami`"

if [ ! -e $DBUS_PATH ]; then
	dbus-launch --sh-syntax > $DBUS_PATH
	chmod 400 $DBUS_PATH
fi

cat $DBUS_PATH