Comment 13 for bug 155423

Revision history for this message
Alex Iliev (sasho-cs) wrote : Re: [Bug 155423] Re: update-grub fails on kernel install or remove

Steve Langasek wrote:

> And the recommendation from <http://bugs.debian.org/cgi-bin/275140#37>
> is that "set -o noclobber" should be guarded by if [ -n "$PS1" ].
>
> Alex, does changing your .bashrc in this manner give you the desired
> behavior?

Yes, with that arrangement there is no problem. It seems a reasonable
solution. I don't know if this is documented more visibly than the debian
bug report, but it would seem useful to have it mentioned, as noclobber is a
sensible option to enable if you use the shell much.

Thanks!

alex