On Thu, May 19, 2005 at 10:25:22AM +0200, Fryderyk Dziarmagowski wrote:
> On Thu, 19 May 2005 11:12:03 +0300
> Elan Ruusam�e <[EMAIL PROTECTED]> wrote:
[...]
> > > just uninstall any package containing this macro, builded with rpm
> > > after your changes and you can see whats going on.
> > show me the exact package!
> > rpm -qp package.rpm --scripts output
>
> [EMAIL PROTECTED] RPMS]$ rpm -qp glabels-2.0.2-3.i686.rpm --scripts output
> postinstall scriptlet (using /bin/sh):
>
> /usr/bin/scrollkeeper-update -q;
>
> {\
> umask 022; \
> /usr/bin/update-desktop-database; \
> }
> postuninstall scriptlet (using /bin/sh):
>
> if [ $1 = 0 ]; then
> /usr/bin/scrollkeeper-update -q;
> fi
>
> {\
^^
> if [ $1 = 0 ]; then \
^^
This is syntax error - no whitespace between '{' and "if".
glen, how expanded macros should look like?
If '{' and '\' are supposed to appear here, there should be space before
'\'.
If they look differently on your system, it's maybe because of /bin/sh
not being ksh?
--
Jakub Bogusz http://qboosh.cs.net.pl/
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en