diff options
author | flepied <flepied@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2004-08-25 05:25:45 +0000 |
---|---|---|
committer | flepied <flepied@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2004-08-25 05:25:45 +0000 |
commit | b6bbd3ff1081164a76bd53d1496abf291940efa0 (patch) | |
tree | 4908b80cd1dee8b9c40fa98b6ba69d8eaffd9a85 | |
parent | cbe68e4185e4181227bbfaa5c8f506e96cc6e871 (diff) | |
download | s2u-b6bbd3ff1081164a76bd53d1496abf291940efa0.tar s2u-b6bbd3ff1081164a76bd53d1496abf291940efa0.tar.gz s2u-b6bbd3ff1081164a76bd53d1496abf291940efa0.tar.bz2 s2u-b6bbd3ff1081164a76bd53d1496abf291940efa0.tar.xz s2u-b6bbd3ff1081164a76bd53d1496abf291940efa0.zip |
use display in temp filename
git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/s2u/trunk@179793 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rwxr-xr-x | s2u.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,11 +11,11 @@ # attache itself to. #--------------------------------------------------------------- +CURR_DISPLAY=`LC_ALL=C xdpyinfo | grep 'display' | awk '{print $4}'` + f="/tmp/dbus-$USER-xsession$CURR_DISPLAY" vars() { - CURR_DISPLAY=`LC_ALL=C xdpyinfo | grep 'display' | awk '{print $4}'` - if [ -f "$f" -a -O "$f" ]; then . "$f" fi |