Re: Bug#491680: cdd-actions: line 132: [: too many arguments
On Mon, 21 Jul 2008, Marc Glisse wrote:
Setting up junior-config (1.13) ...
Adding group `junior' (GID 209) ...
Done.
/usr/share/cdd/unixgroups/cdd-actions: line 132: [: too many arguments
[many times, with the junior-config dialog in the middle]
/usr/share/cdd/unixgroups/cdd-actions: line 132: [: too many arguments
Setting up junior-tasks (1.13) ...
Setting up junior-puzzle (1.13) ...
Setting up junior-writing (1.13) ...
I am reporting it to the package that contains the script,
That's perfectly reasonable - thanks for catching this!
but the error
might be from junior-config being confused that I selected 0 users as
having junior menus.
Well, I removed all users from my list of junior users - but can not
reproduce this behaviour. Could you please try to insert a line
set -x
in line 128 of file /usr/share/cdd/unixgroups/cdd-actions
(or somewhere there) and send me the output of the installation?
In principle the script should be safe against working on zero
users - but perhaps something went wrong on your specific machine.
Kind regards and thanks for th ebug report
Andreas.
PS: To fix the installation on your machine you might consider
switching of user menus via
dpkg-reconfigure junior-config
because it is sometimes nasty to work on a machine with
broken packages.
--
http://fam-tille.de
Reply to: