Re: mythweb 0.27

トップ ページ

このメッセージに返信
著者: Lennart Sorensen
日付:  
To: Josu Lazkano
CC: dmo-discussion@deb-multimed...
題目: Re: mythweb 0.27
On Mon, Oct 07, 2013 at 04:54:00PM +0200, Josu Lazkano wrote:
> 2013/10/7 Lennart Sorensen <lsorense@???>:
> > On Sat, Oct 05, 2013 at 08:51:34AM +0200, Christian Marillat wrote:
> >> "Lennart Sorensen" <lsorense@???> writes:
> >>
> >> > On Fri, Oct 04, 2013 at 01:26:02PM -0400, Lennart Sorensen wrote:
> >> >> On Fri, Oct 04, 2013 at 06:39:12PM +0200, Christian Marillat wrote:
> >>
> >> [...]
> >>
> >> > Hmm, that didn't actually quite work.
> >> >
> >> > This seems to:
> >> >
> >> > cat $INPUT | perl -pe "
> >> > s/(^[ \t]*setenv[ \t]+db_server[ \t]+\")[^\"]*\"/\$1\$ENV{'hostname'}\"/g;
> >> > s/(^[ \t]*setenv[ \t]+db_name[ \t]+\")[^\"]*\"/\$1\$ENV{'database'}\"/g;
> >> > s/(^[ \t]*setenv[ \t]+db_login[ \t]+\")[^\"]*\"/\$1\$ENV{'mythtv_username'}\"/g;
> >> > s/(^[ \t]*setenv[ \t]+db_password[ \t]+\")[^\"]*\"/\$1\$ENV{'mythtv_password'}\"/g;
> >> > " > $NEW
> >>
> >> Works for me. One change, I need to export all variables at the top of
> >> the script.
> >
> > Yes, that is true.
> >
> > I didn't actually look at the script, just the email thread about the
> > problem. And I tested it by just dumping some text through it with the
> > variables exported.
> >
> > Hopefully people won't have issues with their passwords in the future
> > then.
> >
> > --
> > Len Sorensen
> >
>
> Hello, I change the password but I can not install mythweb:
>
> Setting up mythweb (1:0.27.0-dmo1) ...
> sed: -e expression #1, char 252: unknown option to `s'
> dpkg: error processing mythweb (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> mythweb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> How could I fix this? I try to remove and install mythweb again, but
> same problem.


Well if my suggested code (plus exporting variables) is added to mythweb
1:0.27.0-dmo2, then hopefully that version won't have an issue and
will install.

--
Len Sorensen