[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why doesn't menu like this?

> When I run update-menus, I get this error:
> /usr/lib/menu/xsoldier: line 1: syntax error near unexpected token ?package(xs
> ldier)'
> /usr/lib/menu/xsoldier: line 1: `?package(xsoldier):needs="X11" 
> command="/usr/games/xsoldier" icon="none" \'
> /usr/lib/xsoldier is:
> ?package(xsoldier):needs="X11" command="/usr/games/xsoldier" icon="none" \
>                    section="Games/Arcade" title="XSoldier"
> What am I doing wrong? I copied this off another example which works fine.

Well, I don't really know. Could you tell us what version of menu you are
using? (looks like 1.3, but I'm not sure any more). If it is the old
1.3, then the problem may be an extra space after the "\" at the end of
the line. Anyway, try upgrading to 1.4 (if that wasn't what you are using),
as that has _much_ better error reporting.

Or, maybe your file has the executable bit on? then it's executed as a 
shell script (would explain the strange error message format, it really
doesn't look like 1.4, but I don't remember 1.3 producing that eighter).

joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: