- Added code to /etc/skel/.bash_logout to support the gpm selection buffer
invalidation on virtual terminals (bug #115493).
This commit is contained in:
parent
2f386a8c17
commit
dbaad3971a
@ -1,7 +1,7 @@
|
||||
Version: 3.0
|
||||
Name: bash
|
||||
Summary: The GNU Bourne Again shell (bash) version %{version}.
|
||||
Release: 20
|
||||
Release: 21
|
||||
Group: System Environment/Shells
|
||||
License: GPL
|
||||
Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{version}.tar.gz
|
||||
@ -241,6 +241,10 @@ fi
|
||||
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
||||
|
||||
%changelog
|
||||
* Thu Nov 11 2004 Tim Waugh <twaugh@redhat.com> 3.0-21
|
||||
- Added code to /etc/skel/.bash_logout to support the gpm selection buffer
|
||||
invalidation on virtual terminals (bug #115493).
|
||||
|
||||
* Wed Nov 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-20
|
||||
- Patchlevel 16.
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
# ~/.bash_logout
|
||||
|
||||
|
||||
# invalidate the gpm selection buffer iff logging out from a
|
||||
# virtual terminal
|
||||
if test -x /sbin/consoletype && /sbin/consoletype fg
|
||||
then if test -r /var/run/gpm.pid && test -d "/proc/$(/bin/cat /var/run/gpm.pid)"
|
||||
then kill -USR2 "$(/bin/cat /var/run/gpm.pid)"
|
||||
fi
|
||||
fi
|
||||
|
||||
clear
|
||||
|
Loading…
Reference in New Issue
Block a user