|
From: Craig W. <cra...@az...> - 2005-02-08 23:43:22
|
On Tue, 2005-02-08 at 12:37 +0800, Murray Trainer wrote:
> On Tue, 2005-02-08 at 08:38, Jamie Cameron wrote:
> > Craig White wrote ..
> > > trying to make use of the 'script to run' feature and I'm not getting
> > > it.
> > >
> > > contents of script is...
> > >
> > > #!/bin/sh
> > > mysql horde < INSERT INTO horde_prefs VALUES \
> > > ('{USER}','ingo','rules','long-string of data')
> > >
> > > and I'm not getting a variable substitution for {USER}, only the
> > > literal.
> > >
> > > I tried double quotes
> > >
> > > Suggestions?
> >
> > You should use $USERADMIN_USER instead of {USER}.
> >
> > - Jamie
> >
>
> I made the script to run contain "env > /tmp/env.txt" so I could see all
> the variables the module uses.
----
that was most useful - thanks
by the way - the last rpm that you referenced installed the same IMAP.pm
module that I created from the source rpm's that you directed me to so
the end result was the same. I suppose I could beat it up and figure out
what wasn't working but it seems that the packager is depending upon
things that are in SuSE's environment and didn't work for my RHEL
environment and with the above info, I can pretty much do what I need to
do anyway and probably a lot more.
I wouldn't recommend that anyone draw conclusions from my inability to
make Net::IMAP / NetxAP work as I am not skilled at perl or perl modules
whatsoever but I suspect that the future of the cyrus portion of this
module is in danger of not being usable on many systems.
Thanks for the help
Craig
|