> > if [ `grep PhotoShelf.conf /etc/httpd/conf/httpd.conf | wc -l` = 0 ]; > Why not: > > if (grep -q PhotoShelf.conf /etc/httpd/conf/httpd.conf); > then > .. > fi Yup... good one!! That would check for the positive (there is a "PhotoShelf.conf" in httpd.conf), but how to do the negative (there isn't a "PhotoShelf.conf")? That one is needed with the %pre. Stefan
- [Cooker] Zope Stefan van der Eijk
- Re: [Cooker] Zope Geoffrey Lee
- Re: [Cooker] Zope Stefan van der Eijk
- Re: [Cooker] Zope civileme
- Re: [Cooker] Zope Stefan van der Eijk
- Re: [Cooker] Zope Sebastian Dransfeld
- Re: [Cooker] Zope Stefan van der Eijk
- Re: [Cooker] Zope Ot Ratsaphong
- Re: [Cooker] Zope Stefan van der Eijk
- [Cooker] Zope Michal Bukovjan
