[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with .sversion file



On Thu, 2002-05-02 at 09:33, Chris Halls wrote:
> Thanks John for your suggestions!
> 
> I've modified the openoffice script to test for the .openoffice and
> .sversionrc files and use that information to help the user, but I do
> not
> want to automatically fix things yet:
I have to agree that this is probably better for now.

> 
> On Mon, Apr 29, 2002 at 01:24:57PM +0100, John M Cooper wrote:
> > if [ ! -d ~/.openoffice ]; then
> >   /usr/lib/openoffice/program/setup
> -R:/etc/openoffice/autoresponse.conf
> > fi
> > 
> > Could be changed to 
> > 
> > if [ ! -d ~/.openoffice ]; then
> >   if [ -r ~/.sversionrc ]; then
> >      mv ~/.sversionrc ~/.sversionrc.orig
> >   fi
> 
> I'm going to go for a more conservative version.  At the moment, I
> haven't
> looked in the users openoffice directory to find out what is important
> in
> there.  The solution you proposed effectively disables the old version
> of
> the directory without warning - I'd rather leave that for the user to
> sort
> out themselves until we know the implications.  So, for now, I'm just
> going
> to stop the script with a diagnostic message if there's a problem.
> Hopefully we can make the diagnostic helpful enough so a user knows
> where to
> look for problems.
I was just proposing moving the .sversionrc file out of the way if they
did not have an .openoffice directory. This will only happen if the user
has installed OOo from the tarballs not from the deb. It will not do
anything if there is already an .openofficerc dir.


> 
> >   if [ ! -d ~/.kde2 ]; then
> >     if [ -d ~/.kde ]; then 
> >       ln -s ~/.kde ~/.kde2
> >     else
> >       mkdir ~/.kde2
> >     fi
> >   fi
> 
> Again, I'd rather be more conservative.  If we do this, setup places
> files
> inside the user's KDE directory.  If the .deb is removed, the user has
> no
> way to get these files removed because OOo setup is needed to remove
> them.
> It should not be necessary to place these in the user's home directory,
> since they should be installed systemwide anyway and disabled in the
> user
> setup.  Until it is sorted out, I'd rather have the error messages than
> bloat users home directories.
> 
Did not think of it that way. Agreed that we need to make the deb
install menu items in the main menu during the deb install and then stop
the OOo install trying to write to the local dirs.

John

-- 
John Cooper                     |Phone 0114 223 3052
Your Senior IT Administrator    |Fax   0114 290 9192
Your Communications - Sheffield |email
john.cooper@yourcommunications.co.uk

************************************************************************
Your Communications Ltd
Portland House
Moorfield
Sheffield
S3 8UG

Switchboard number : 0114 290 9090

The information contained in this e-mail is intended only for the
individual to whom it is addressed. It may contain privileged and
confidential information. If you have received this message in error or
there are any problems, please notify the sender immediately and delete
the message from your computer. The unauthorised use, disclosure,
copying or alteration of this message is forbidden. Your Communications
Limited will not be liable for direct, special, indirect or
consequential damage as a result of any virus being passed on, or
arising from alteration of the contents of this message by a third
party.

Your Communications Limited (England and Wales No. 3842309) registered
office Dawson House, Great Sankey, Warrington, WA5 3LW


************************************************************************
Disclaimer end.




-- 
To UNSUBSCRIBE, email to debian-openoffice-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: