Posted: Fri Jan 30, 2004 12:58 am Post subject: Installing German Help FilesInstalling German Help Filesin
I tried to replace the english help files with german ones like it is discribed on the download page. After the sudo command an error message is displayed:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
and on clicking help in NeoOffice/J there´s the message: The requested document does not exist in the database !! So I guess I deleted the english help files without replacing them.
Does anyone know what´s wrong?
Here´s the terminal window:
AlexG4:~ alex$
/bin/sh
sh-2.05b$ export NEOJ_HELP_DIR="/Applications/NeoOfficeJ.app/Contents/help"
sh-2.05b$ export NEOJ_LANGUAGE="de"
sh-2.05b$ export NEOJ_HELP_FILE="/Users/alex/Desktop/helpcontent_49_unix.tar"
sh-2.05b$ sudo /bin/sh -e -c 'cd "$NEOJ_HELP_DIR" ; rm -Rf "$NEOJ_LANGUAGE" ; mkdir "$NEOJ_LANGUAGE" ; cd "$NEOJ_LANGUAGE" ; tar zxvf "$NEOJ_HELP_FILE" ; for i in *.zip ; do jar xvf "$i" ; done ; for i in *.css; do sed "s#font-family: #font-family: Sans Serif,#g" "$i" > "$i.tmp" ; mv -f "$i.tmp" "$i" ; done'
Password:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
sh-2.05b$ exit
exit
AlexG4:~ alex$
This is not is bad as it seems. I don't think that you have deleted the English help files. Instead, you have merely created an empty German help directory. You are creating an empty German help directory because this part of the "sudo" command is failing:
Code:
tar zxvf "$NEOJ_HELP_FILE"
This part is failing because you have set the "$NEOJ_HELP_FILE" environment variable to a "*.tar" file instead of the "*.tar.gz" file that you downloaded from the website.
I suspect that when you downloaded the "*.tar.gz" file, some helper application turned the "*.tar.gz" file into a "*.tar" file.
To install the help files with a "*.tar" file, you need to replace the part of the "sudo" command mentioned above with this:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum