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

Bug#309637: Some warnings during upgrade



Juhapekka Tolvanen <juhtolv@cc.jyu.fi> wrote:

> Setting up tetex-bin (2.0.2-30) ...
> /root/.bashrc: line 40: /.bash_common.sh: No such file or directory

[...]

IMHO, the bug is in your bash setup that runs .bashrc for every script.
.bashrc is for interactive shells that are not login shells, as
documented in bash(1). If scripts started to read .bashrc files
everywhere, we'd have a lot of problems since you should define your
aliases and functions there, IIRC.

Disclaimer: I don't use bash.

-- 
Florent



Reply to: