summaryrefslogtreecommitdiffstats
path: root/profile.d/xhost.sh
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-12-12 21:26:11 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-12-12 21:26:11 +0000
commit6846fa47b435e3cde05024e5d621b308baf71841 (patch)
treecbd39b203169de8e394f4ee93e6be99c686a7763 /profile.d/xhost.sh
parent443e6d1e48118067fa6ae535272839ef183863a0 (diff)
downloadsetup-6846fa47b435e3cde05024e5d621b308baf71841.tar
setup-6846fa47b435e3cde05024e5d621b308baf71841.tar.gz
setup-6846fa47b435e3cde05024e5d621b308baf71841.tar.bz2
setup-6846fa47b435e3cde05024e5d621b308baf71841.tar.xz
setup-6846fa47b435e3cde05024e5d621b308baf71841.zip
drop xhost profile scriptlets, they belong to xhost2.7.10
Diffstat (limited to 'profile.d/xhost.sh')
-rwxr-xr-xprofile.d/xhost.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/profile.d/xhost.sh b/profile.d/xhost.sh
deleted file mode 100755
index 04bb7ee..0000000
--- a/profile.d/xhost.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-# Export Xauthority for users not for root.
-
-if [ ! -z "$DISPLAY" -a -z "$SSH_TTY" ];then
- if [ "`id -u`" -gt 14 ];then
- if [ -z $XAUTHORITY ];then
- export XAUTHORITY=$HOME/.Xauthority
- fi
- fi
-fi