This one time, at band camp, Lucas Nussbaum said:
> On 06/07/07 at 16:01 +0100, Stephen Gran wrote:
> > This one time, at band camp, Lucas Nussbaum said:
> > > + echo 'clamav: root'
> > > ++ which newaliases
> > > + newal=
> > > dpkg: error processing clamav-base (--install):
> > >  subprocess post-installation script returned error exit status 1
> > > Errors were encountered while processing:
> > >  clamav-base
> > 
> > aha.  Can you modify the line:
> > if [ $newal ] && [ -x $newal ]; then
> > to be:
> > if [ -n "$newal" ] && [ -x "$newal" ]; then
> > 
> > and let me know if it fixes it for you?
>  
> No. Note that 'which newaliases' returns 1 if newaliases cannot be found.

Arg.  Good catch.  I see that for some reason I must have been
mistakenly thinking that the subshell would handle that, but clearly
not.  So it should be

newal=`which newaliases || true`.

Will upload soon, and thanks,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to