From 6846fa47b435e3cde05024e5d621b308baf71841 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Wed, 12 Dec 2007 21:26:11 +0000 Subject: drop xhost profile scriptlets, they belong to xhost --- Makefile | 4 ++-- NEWS | 4 ++++ profile.d/xhost.csh | 11 ----------- profile.d/xhost.sh | 9 --------- 4 files changed, 6 insertions(+), 22 deletions(-) delete mode 100755 profile.d/xhost.csh delete mode 100755 profile.d/xhost.sh diff --git a/Makefile b/Makefile index 4c10bd6..c32c0e6 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ PACKAGE = setup -VERSION = 2.7.9 +VERSION = 2.7.10 SVNPATH = svn+ssh://svn.mandriva.com/svn/soft/$(PACKAGE) LIST = csh.cshrc csh.login host.conf hosts.allow hosts.deny inputrc \ - motd printcap profile.d protocols securetty services shells profile \ + motd printcap protocols securetty services shells profile \ filesystems fstab resolv.conf hosts subdir = passgrp utils man diff --git a/NEWS b/NEWS index 924c32c..c23b9da 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +2007-12-12 Guillaume Rousse 2.7.10 + + * drop xhost profile scriptlets, they belong to xhost + 2007-08-11 Guillaume Rousse 2.7.9 * add iprop service diff --git a/profile.d/xhost.csh b/profile.d/xhost.csh deleted file mode 100755 index 948e617..0000000 --- a/profile.d/xhost.csh +++ /dev/null @@ -1,11 +0,0 @@ -# Export Xauthority for users not for root. - -if ($?DISPLAY) then - if (! $?SSH_TTY) then - if ( `id -u` >= 14 ) then - if (! $?XAUTHORITY) then - setenv XAUTHORITY $HOME/.Xauthority - endif - endif - endif -endif 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 -- cgit v1.2.1