On Dec 7, 2007, at 3:21 AM, Ralf S. Engelschall wrote:
> On Thu, Dec 06, 2007, Jeff Johnson wrote:
>
>> Are there concerns?
>
> No, I think it's fine as "%" in the usual shell scripts
> does not occur at all...
>
The explicit check here is
$ rpm -qa --scripts | grep '%'
#%post xsltc
#%preun xsltc
# XXX Removing dbenv files in %post opens a lock race window, a
tolerable
# Save an ldif of the database where the "% post servers" scriptlet can
# Save an ldif of the database where the "% post servers" scriptlet can
#%post javadoc
#%postun javadoc
perl -p -i -e "s#/usr/X11R6/lib/X11/fonts/${fpe}#%
{_x11fontdir}/${fpe}#g" $XFSCONFIG
rel=${rel%.cat}
#%if 1
#%endif
#%if 1
#%endif
#%if 1
#%endif
#%postun
All but "rel=${rel%.cat}" is trash (but will be macro expanded now).
73 de Jeff
Received on Fri Dec 7 13:54:57 2007