On Fri, Jul 02, 2010 at 04:35:58PM +0300, Gediminas Paulauskas wrote: > 2010/7/2 Tom Hoffman <[email protected]>: > > ---------- Forwarded message ---------- > > From: David Ally <[email protected]> > > Date: Fri, Jul 2, 2010 at 5:00 AM > > Subject: Re: Fwd: [Schooltool-developers] Interventions with CanDo > > To: Tom Hoffman <[email protected]> > > > > > > Tom, > > I had installed intervention from synaptic before your email came in, > > however, when i used apt to install it, it said the most current > > version had been installed but going further to add the plugin, gave > > this error message, > > > > da...@ubuntupc:~$ sudo -s "cat > > > /etc/schooltool/schooltool-cando/plugins/intervention.zcml" <include > > package="schooltool.intervention" /> > > bash: syntax error near unexpected token `newline' > > > > what is wrong? > > The command got wrapped, should be a single line.
Even if it were a single line
* it should be 'echo', not 'cat'
* the '<include package="schooltool.intervention" />' bit should be
quoted (and you'll have lots of fun with tripple nesting of quotes
in bash).
I would suggest
echo '<include package="schooltool.intervention" />' | \
sudo tee /etc/schooltool/schooltool-cando/plugins/intervention.zcml
instead.
> Simply edit the
> /etc/schooltool/schooltool-cando/plugins/intervention.zcml file and
> put one line in it:
>
> <include package="schooltool.intervention" />
Or that. vi rules.
Marius Gedminas
--
An NT server can be run by an idiot, and usually is.
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~schooltool-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~schooltool-developers More help : https://help.launchpad.net/ListHelp

