Comment 6 for bug 6997

Revision history for this message
In , Bill Allombert (allomber) wrote : Re: Bug#258584: Fails to update and create menu entries

severity 258584 normal
thanks
On Sat, Jul 10, 2004 at 04:07:40PM +0200, Alexandre Touret wrote:
> Package: menu
> Version: 2.1.15
> Severity: grave
> Justification: causes non-serious data loss

Really, what data were lost ?

> Hi,
> I have menu entries described in the /etc/menu. These works fine from 2
> years. But recently, when I update my debs menus, the update-menus tool
> don t recognize any of them.
> The error message:
>
> /etc/menu/jalbum-4.4: line 1: syntax error near unexpected token
> `xserver-xfree86'
> /etc/menu/jalbum-4.4: line 1:
> `?package(xserver-xfree86):command="/usr/local/bin/JAlbum" needs="X11"
> \'
> L'exécution de /etc/menu/jalbum-4.4 n'a créé aucune donnée en sortie ni
> retourné aucune erreur.

Menu acts as if /etc/menu/jalbum-4.4 was executable. Is it the case ?

In this case, menu try to execute it and use the output as menu entries,
so in fact the first error message is output by the shell. This is a
documented feature.

chmod a-x /etc/menu/jalbum-4.4
should cure the problem.

Cheers,
--
Bill. <email address hidden>

Imagine a large red swirl here.