Hi,

I updated yum via apt :-) and got:

warning: /etc/yum.repos.d/* moved to /etc/yum/repos.d/*
mv: cannot stat `/etc/yum.repos.d/*': No such file or directory
error: %post(yum-3.2.8-11.2.x86_64) scriptlet failed, exit status 1

Maybe a construct like
NOFFILES=$(LANG=C ls -lR /etc/yum.repos.d/ | tail -n 1 | cut -d' ' -f2)
if [ "$NOFFILES" -ne 0 ]; then ...
will avoid the error? ;-)

Regards,
Werner

-- 
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-1921 - Fax (0341) 235-451921
http://www.ufz.de - eMail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to