On Mon, 25 Aug 2003 04:58:04 +0200 Rene Engelhard <[EMAIL PROTECTED]> wrote: > Hi, > > [ please wrap your lines after 72 chars. I have to wrap them > here manually. This is intended to both of you... ] > > Aigars Mahinovs wrote: > > I don't uderstand shell scripts, but the postinst of > > uh? A DD not understanding shell scripts?
happends :) > > openoffice.org-debian-files 1.0.99+1.1rc-3 didn't work for me > > upgrading from 1.0.* packages directly. > > Hmm. > > > The directory /usr/lib/openoffice/share/dict was not created and > > the symlink ooo to /usr/lib/myspell/dicts was not created. > > You mean /usr/share/myspell/dicts? Yes, sorry about that. > > The fix is to: > > # mkdir /usr/lib/openoffice/share/dict > > # cd /usr/lib/openoffice/share/dict > > # ln -s /usr/lib/myspell/dicts ooo (misspelled here too, must be /usr/share/myspell/dicts) > eh? > > This exactly is done in oo-d-f's postinst ad of -3.. > > > ii openoffice.org-debian-fil 1.0.99+1.1rc-3 Debian specific parts > > of OpenOffic > > ... which you have installed... I know, this is where I took the commands from, which is the most strangest thing here. It seems, that in some environment, this check fails: (/var/lib/dpkg/info/openoffice.org-debian-files.postinst) if [ "$1" = "configure" ] && dpkg -l openoffice.org | grep ii >/dev/null; then The problem seens to be, that at the moment of configuration of openoffice.org-debian-files, openoffice.org could be still in some other state like half-configured or half-installed. Why is the dpkg/grep check needed? Maybe it should be replaced with something more reliable? -- Best regards, Aigars Mahinovs mailto:[EMAIL PROTECTED] #--------------------------------------------------------------# | .''`. | | : :' : Debian GNU/Linux & LAKA | | `. `' http://www.debian.org http://www.laka.lv | | `- | #--------------------------------------------------------------#
pgp5yTNIVfAP9.pgp
Description: PGP signature