[Pkg-lyx-devel] patch for scripts/update-lyrc

Sven Hoexter sven at timegate.de
Sun May 28 20:08:37 UTC 2006


On Sun, May 28, 2006 at 08:54:37PM +0200, Sven Hoexter wrote:
> On Sun, May 28, 2006 at 06:37:15PM +0200, Georg Baum wrote:
> > Am Sonntag, 28. Mai 2006 16:10 schrieb Sven Hoexter:
> > > Hi,
> > > Georg mentioned that we need to change the call for configure in the
> > > update-lyrc script.
> > > 
> > > Translated into a diff it should look like this:
> > > --- debian/scripts/update-lyxrc (Revision 5)
> > > +++ debian/scripts/update-lyxrc (Arbeitskopie)
> > > @@ -20,7 +20,7 @@
> > >      test -d "$1" || error "Can't find directory $1"
> > >      touch "$1/lyxrc.defaults" || exit 1
> > >      cd "$1" || exit 1
> > > -    /usr/share/lyx/configure
> > > +    python /usr/share/lyx/configure.py
> > >  }
> > 
> > Note also that the --system switch is not needed anymore (the 
> > automatically generated system wide lyxrc.defaults is gone), so it should 
> > be removed and the manpage updated.
> > The system wide configuration file is now named lyxrc.dist.
> Correct me if I'm wrong but then we can remove the whole update-lyxrc
> script and replace the call to update-lyxrc with
> cd $HOME/.lyx && /usr/share/lyx/configure.py
Which is of cource nonsense for the maintainer scripts. Users should be
able to execute configure.py by hand if needed.

Do you think it's worse a debconf notice that the global lyxrc is gone?
Otherwise I would only mention this fact in the README.Debian.

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]



More information about the Pkg-lyx-devel mailing list