On Thursday 24 Jan 2002 12:59, Chmouel Boudjnah wrote:
> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> > samba-common
> > ##################################################
> > error: execution of %post scriptlet from samba-common-2.2.2-8mdk
> > failed, exit status 1
> >
> > samba-common-2.2.2-8mdk
> >
> > Looks like the problem is here:
> >
> > # And not loose our machine account SIDs
> > [ -f /etc/*.SID ] && cp -f /etc/*.SID /etc/samba/
>
> Humm fix (shell mistery) :
>
> [[ -f /etc/*.SID ]] && cp -f /etc/*.SID /etc/samba/ || :
> > because
> >
> > [bor@cooker fs]$ [ -f /etc/*.SID ] && echo xxx
> > [bor@cooker fs]$ echo $?
> > 1

I have no /etc/*.SID but the above always yields 0 for me.  What's wrong?
bash-2.05-10mdk
> >
> > -andrej

-- 
Peter Ruskin, Wrexham, Wales.  AMD Athlon XP 1600+, 512MB RAM.
Registered Linux User 219434 ( see http://counter.li.org/ ).
Mandrake Linux release 8.1 (Vitamin) for i586
Kernel 2.4.8-34.1mdk-win4lin,  XFree86 4.1.0, patch level 21mdk.
KDE: 2.2.2.  Qt: 2.3.2.  Up 1 hour 24 minutes.

Reply via email to