From: Don Armstrong Date: Thu, 22 Jun 2006 22:09:18 +0000 (+0000) Subject: * make a backup of the .Xauthority file X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=723cace67e97ce03482cc54fa01e1b9646275a9c;p=x_base.git * make a backup of the .Xauthority file --- diff --git a/.xsession b/.xsession index 14d991f..a7f71e5 100755 --- a/.xsession +++ b/.xsession @@ -32,6 +32,11 @@ if [ -e ~/.xsession_$HOSTNAME ]; then . ~/.xsession_$HOSTNAME fi; +# make a backup of the .Xauthority +if [ -e ~/.Xauthority ]; then + cp -f .Xauthority .Xauthority.bak +fi; + if [ -x /usr/bin/xscreensaver -a -e ~/.xscreensaver ]; then /usr/bin/xscreensaver & fi;