| Bernd Eckenfels 2004-10-10, 5:54 pm |
| On Sat, Oct 09, 2004 at 11:05:40PM +0100, Julian Gilbey wrote:
[vbcol=seagreen]
> You should do this carefully:
> if [ -n "$PS1" ]; then
> # set whatever interactive things you want
> fi
Why is the shell invoked by dpkg executing the .bashrc in the first place?
First of all .bashrc is not invoked if you call /bin/sh and neigher
bash ./test.sh
nor
../test.sh
(with test.sh beeing "#!/bin/bash\necho test" and .bashrc = echo bashrc)
is execuring .bashrc
Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Mörscher_Strasse_8.76185Karlsruhe.de --
( .. ) ecki@{inka.de,linux.de,debian.org} http://www.eckes.org/
o--o 1024D/E383CD7E eckes@IRCNet v:+497211603874 f:+497211606754
(O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|