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

Bug#275140: Redirections and noclobber



On Fri, Oct 08, 2004 at 12:33:23PM +0200, Frank K?ster wrote:
> Nils wrote in his bug report: 
> 
> ,----
> | The postinst script:
> | /var/lib/dpkg/info/tetex-base.postinst
> | fails if you set bash's "noclobber" (say in your .bashrc via set -o noclobber).
> | (yes, I set noclobber in root's .bashrc -- I'm careful)
> `----

You should do this carefully:

if [ -n "$PS1" ]; then
    # set whatever interactive things you want
fi

   Julian



Reply to: