[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#72327: boot-floppies: doesn't install .bash_logout for root



On Sun Sep 24, 2000 at 03:32:14PM +0200, Wichert Akkerman wrote:
> Previously Josip Rodin wrote:
> > The bash package in potato includes a nice /etc/skel/.bash_logout file:
> > 
> > # ~/.bash_logout: executed by bash(1) when login shell exits.
> > 
> > # when leaving the console clear the screen to increase privacy
> > 
> > case "`tty`" in
> >     /dev/tty[0-9]) clear
> > esac
> 
> Eww! Barf! I would actually consider it a bug if my shell did that
> by default. It's also a completely broken test, if doesn't work for
> tty10 for example.

File a bug on bash then...

    [andersen@traveller src]$ ls -l /etc/skel/.bash_logout
    -rw-r--r--    1 root     root          174 Feb 20  2000 /etc/skel/.bash_logout
    [andersen@traveller src]$ cat /etc/skel/.bash_logout
    # ~/.bash_logout: executed by bash(1) when login shell exits.

    # when leaving the console clear the screen to increase privacy

    case "`tty`" in
	/dev/tty[0-9]) clear
    esac
    [andersen@traveller src]$ dpkg -S /etc/skel/.bash_logout
    bash: /etc/skel/.bash_logout

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



Reply to: