Dne Monday of October 8 2007 07:51:03 Robert Ludvik piše:
> Matic Smerdu pravi:
> > Tudi to sem probal. Odstranil sem sicer z rpm -e. Potlej pa seznam vseh
> > instaliranih rpm-jev. Malo komplicirano, ampak je ravno tako vse popucal.
> >
> > Za ukaz rpm -Uvh RPMS/* pri instalaciji pa sem ravnokar nekje prebral da
> > v Red Hat in otrocih ne dela.
>
> rpm -Uvh RPMS/*.rpm bo delalo.
>
Ja, včasih ročna namestitev zadnjega snapshota (torej trenutno OOo 2.3.....)
ne dela. Pa kaj. Sam sem se kako leto ali dve nazaj trudil z namestitvenim
skriptom ker sem dokaj redno nameščal snapshote.
Pri fedori je takole - včasih je potreben rpm -e, včasih pa ne - odvisno od
različice snapshota. Zakaj, vejo pri fedori. To je tudi del problema, zato je
prekrasno, da najprej odstraniš čisto vse kar se od daleč navezuje na
openoffice.
yum remove openoff*
Potem pa nameščaj snapshot.
lp, Jože
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
#script start--------------------------------------------------
OOO_MAJOR="2" #Major version
OOO_MINOR=".0.4" #Minor version
OOO_MINOR_BUG=".0.4" #Minor typo bug, thanks to OOO_BUILDER!
OOO_BUILDID="1" #Build ID
OOO_BUILDMARK="m1" #Build mark
OOO_CPU_BUILD="i586" #Which CPU:
x86,i386,i486,i586,i686,k6,k7,ppc,alpha,... .
OOO_FILENAME="openoffice.org" #Exchange these two only if you know what you do!
OOO_FILENAME1="openofficeorg" #Rarely found typo in official names.
OOO_VERSION=$OOO_MAJOR$OOO_MINOR"_"$OOO_BUILDID #Version with the build
mark
OOO_FILE_VERSION=$OOO_MAJOR$OOO_MINOR"-"$OOO_BUILDID #Similar as above for
filenames
OOO_LANG="sl" #Which lang: cz, de-DE, en-GB, en-US, sl,
... .
OOO_INSTALL_SCRIPT="OOoinstall.sh" #If OOoinstall.sh, then OK. Else, call
external script.
#Option left for v0.20 or later.
OOO_INSTALL_TYPE="RPM" #DEB, EXE, RPM, SH, BAT, SFX
OOO_BUILDER="[EMAIL PROTECTED]" #The email of the person who did the job on
builds.
#Put some other mail if you have other local
builder.
OOO_SCRIPT_AUTHOR="joze.klepec AT siol.net" #My contact address will
probably knock 99-95%
#of mail to junk, if not
properly adressed.
#Mail is limited far shorter
then ISP's limit is.
OOO_SCRIPT_CONTRIBUTOR="joze.klepec AT siol.net" #Author will put major
contributors inhere
OOO_SCRIPT_MODIFIER="joze.klepec AT siol.net" #Put your mail inhere
#OOO_INSTALL_MODE="--install " #Changes in this section: first three modes are
#OOO_INSTALL_MODE="-Uv " #appreciated by RPM system. If you have OOo, use
#OOO_INSTALL_MODE="--upgrade " #second mode. If you encounter problems, use
force.
OOO_INSTALL_MODE="--install --force"
#OOO_INSTALL_MODE="EXTERN_SCRIPT_ONLY" #Modes below are planned for v0.22
#OOO_INSTALL_MODE="EXTERN_SCRIPT_AFTER"
#OOO_INSTALL_MODE="EXTERN_SCRIPT_BEFORE"
#OOO_INSTALL_MODE="EXTERN_SCRIPT_BEFORE_AND_AFTER"
OOO_INSTALL_SCRIPT_VERSION="0.17b" #Don't touch if you haven't done anything
inside. :)
OOO_INSTALL_SCRIPT_MAKER="[EMAIL PROTECTED]" #Script author & maintainer
OOO_INSTALL_SCRIPT_MAINTAINER="same_as_above" #Write yourself, if you make
any changes
printf "**********************************************************************
\n\n"
printf "OpenOffice.org "
printf $OOO_MAJOR
printf ".x install script - TEST RELEASE \n\n"
printf "**********************************************************************
\n\n"
printf "Version"
printf $OOO_INSTALL_SCRIPT_VERSION
printf " first published and maintained by Jože Klepec 2005\n\n"
printf "Licensed under LGPL v2.0 or higher - this is free software. \n"
printf "For distribution, changess, rights, warranties, failures and losses see
\n"
printf "LGPL License. From my point of view, you have all rights and wrongs
that \n"
printf "come with LGPL. You can find it at webpage http://www.fsf.org/ \n"
printf "which is owned and maintaned by Free Software Foundation, \n"
printf "51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \n\n"
printf "***********************************************************************
\n"
printf "OpenOffice is licensed under GPL, LGPL, SISSL and third party
licenses.\n\n"
printf "Press a key if you have read OpenOffice.org License Readme and you
agree\n"
printf "to start with installation.\n\n"
printf "Press Ctrl-Z / Ctrl-C to stop the script if you don't agree with
License.\n\n"
printf "After one day, this install script will run itself automatically. \n"
printf "If you agree, you will install on your machine this OpenOffice.org:\n "
printf $OOO_VERSION
printf " "
printf $OOO_CPU_BUILD
printf " built by "
printf $OOO_BUILDER".\n with following script:\n"
printf $OOO_INSTALL_SCRIPT
printf " v"
printf $OOO_INSTALL_SCRIPT_VERSION
printf "\n Author: "
printf $OOO_INSTALL_SCRIPT_MAKER
printf "\n Maintainer: "
printf $OOO_INSTALL_SCRIPT_MAINTAINER
#printf "\n\n Install mode is: "
#if ($OOO_INSTALL_MODE="--install --force") then
printf "rpm --install --force package(s) (on hdd/CD)\n"
#fi
#if ($OOO_INSTALL_MODE="--install") then
# printf "apt-get/rpm/yum --install package(s)\n" then
#fi
#if ($OOO_INSTALL_MODE="--upgrade") then
# printf "apt-get/rpm/yum --upgrade package(s) (from file, on hdd/CD)" then
#fi
#if ($OOO_INSTALL_MODE="--netinstall") then
# printf "apt-get/yum --install package(s)\n" then
#fi
#if ($OOO_INSTALL_MODE="--netupgrade") then
# printf "apt-get/rpm/yum --upgrade package(s) (via network) \n" then
#else
# printf $OOO_INSTALL_MODE
# printf "\n"
#fi
printf "All possible install modes are settable inside the script."
printf "\n\n Filenames appear as:"
printf $OOO_FILE_VERSION
printf " \n\n Please confirm by hitting Enter or cancel script by
Ctrl-Z.\n\n"
read -t 86400 #wait for entire day or until keypress
#***************************************************
# Installation is for Fedora Core 2,3,4 and similar;
# may play well also on RH9, Mandriva, old Mandrake
# or Suse.
# On distributions like Slackware - use tar.
# Use alien to convert RPMS & apt to install elsewhere.
# For debian and all alike use .deb packages and apt.
#***************************************************
#printf "Removing older version of OOo - pre1.1.x only... \n"
#currently remove is suggested manually!
#rpm -erase --allmatches openoffice.org*
#printf "Removing any probable failed installs of OOo "
#printf $OOO_MAJOR
#printf ".x ... \n"
rpm --uninstall --allmatches $OOO_FILENAME*
if (0=1) then
printf "not OK!"
fi
printf "Installing OpenOffice.org Core Libraries... \n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-core??-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-core???-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing OpenOffice.org Base - The Database Package"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-base-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing PyUno - The Python Libraries \n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-pyuno-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing TestTool - For Developers And Testers\n" #not neccessary in
2.x stable
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-testtool-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Openoffice.org Writer, Draw & Impress - Main Packages\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-writer-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-draw-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-impress-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Openoffice.org Calc & Math - Spreadsheets And Formulas\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-calc-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-math-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing SpellChecker - Check Your Spelling!\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-spellcheck-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing Filters - Additional Converters And Filters\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-graphicfilter-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-javafilter-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-xsltfilter-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Installing Desktop Integration And e-mailmerge\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-emailmerge-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
# you'll need one more .rpm for FC3 & gnome
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-gnome-integration-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm #req'd
base, 01
#**********desktop-integration*********************
# enable the correct option and leave gnome intact
#./desktop-integration/$OOO_FILENAME-debian-menus_$OOO_FILE_VERSION_all.deb
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-freedesktop-menus-$OOO_FILE_VERSION.noarch.rpm
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-mandriva-menus-$OOO_FILE_VERSION.noarch.rpm
rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-redhat-menus-$OOO_FILE_VERSION.noarch.rpm
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-suse-menus-$OOO_FILE_VERSION.noarch.rpm
printf "National Support Resorces - Help, Menus And Resources\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-res-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-help-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
OOO_FILE_VERSION=$OOO_MAJOR$OOO_MINOR_BUG"-"$OOO_BUILDID #Similar as above for
filenames
#./desktop-integration/$OOO_FILENAME-debian-menus_$OOO_FILE_VERSION_all.deb
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-freedesktop-menus-$OOO_FILE_VERSION.noarch.rpm
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-mandriva-menus-$OOO_FILE_VERSION.noarch.rpm
rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-redhat-menus-$OOO_FILE_VERSION.noarch.rpm
#rpm $OOO_INSTALL_MODE --hash
./desktop-integration/$OOO_FILENAME-suse-menus-$OOO_FILE_VERSION.noarch.rpm
printf "National Support Resorces - Help, Menus And Resources\n"
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-res-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-$OOO_LANG-help-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
#fully extras - Translation Files (POT), SDK and source
printf "Software Development Kit\n"
OOO_FILE_VERSION=$OOO_MAJOR$OOO_MINOR"-"$OOO_BUILDID #Similar as above for
filenames
#rpm $OOO_INSTALL_MODE --hash
./$OOO_FILENAME-sdk-$OOO_FILE_VERSION.$OOO_CPU_BUILD.rpm
printf "Translation Files - POT files - not so soon"
# not implemented - yet, will be soon!
printf "Source Code of OpenOffice.org - not so soon"
# not implemented - yet, will be soon!
printf " \n\n"
printf "Clearing environment variables... \n"
OOO_MAJOR="" #Major version
OOO_MINOR="" #Minor version
OOO_MINOR_BUG="" #Minor typo bug, thanks to OOO_BUILDER!
OOO_BUILDID="" #Build ID
OOO_BUILDMARK="" #Build mark
OOO_CPU_BUILD="" #Which CPU: x86,i386,i486,i586,i686,k6,k7,ppc,alpha,...
.
OOO_FILENAME="" #Exchange these two only if you know what you do!
OOO_FILENAME1="" #Rarely found typo in official names.
OOO_VERSION="" #Version with the build mark
OOO_FILE_VERSION="" #Similar as above for filenames
OOO_LANG="" #Which lang: cz, de-DE, en-GB, en-US, sl, ... .
OOO_INSTALL_SCRIPT="" #Option left for v0.20 or later.
OOO_INSTALL_TYPE="" #DEB, EXE, RPM, SH, BAT, SFX
OOO_BUILDER="" #The email of the person who did the job on
builds.
#Put some other mail if you have other local
builder.
OOO_SCRIPT_AUTHOR="" #My contact address will knock 99-95% of mail
to junk,
#if not properly adressed. Mail is limited far
shorter
#then ISP's limit is.
OOO_SCRIPT_CONTRIBUTOR="" #Author will put major contributors inhere
OOO_SCRIPT_MODIFIER="" #Put your mail inhere
OOO_INSTALL_MODE="" #Install mode
OOO_INSTALL_SCRIPT_VERSION="" #Version/Release
OOO_INSTALL_SCRIPT_MAKER="" #Script author
OOO_INSTALL_SCRIPT_MAINTAINER="" #Write yourself, if you make any changes
#goodbye message
printf
"*******************************************************************************\n"
printf "*
*\n"
printf "* Errare humanum est... .
*\n"
printf "*
*\n"
printf "* Please distribute the script, correct it and improve it where it
fails to *\n"
printf "* do the job - or doing the job correctly. You're welcome to act like
this. *\n"
printf "* If you do know what it does - correct the mistaken code. So you're
welcome *\n"
printf "* aboard. Don't forget to first sign yourself and heavily comment your
code. *\n"
printf "* For further details see LGPL v2.0++ license on www.fsf.org.
*\n"
printf
"*******************************************************************************\n"
printf "*By default this is a full installation. Feedback without bloating and
*\n"
printf "*spamming is naturally welcome on address: joze.klepec afna siol.net
*\n"
printf "*Comment out unnecesary bloat and use forward.
*\n"
printf "*It was originally created and tested on Pingo Linux 3.x..4.x. This
Linux is *\n"
printf "*based on Fedora Core 2.x..4.x. Now it is tested on Fedora Core 5.x.
*\n"
printf "*For installation, extract current OOo tar or tar.gz archive, put this
*\n"
printf "*script in RPMS directory, run terminal in it, type ./OOoinstall.sh and
*\n"
printf "*there it is! It makes no questions, hopes it's useful, but no
warranties. *\n"
printf "*Removing any previous installations makes it run more smoothly, but is
*\n"
printf "*not neccessary.
*\n"
printf
"*******************************************************************************\n"
printf " OpenOffice.org 2.x installation script completed! \a \n\n"
#
*******************************************************************************
#
# History may not be complete since several forks in development until 0.17a
due to lost
# copies:
#
# 25.07.2005 - Rough idea.
# 26.07.2005 0.01a - Nonfunctional test version.
# 26.07.2005.0.10a - Internal use, working, as 0.10b, no GPL, no license (added
19.05.2006).
# 26.07.2005 0.10b - Added GPL and most of text (this version saved as backup).
# 26.07.2005 0.10s - Corrected bugs, printouts.
# 26.07.2005 0.10t - Some major bugs removed (added 03.08.2006).
# 16.08.2005 0.11a - OOo version update /release independent install idea,
license print.
# 05.10.2005 0.12b - OOo version update, slovenian translation install.
# 27.11.2005 0.12c - Actually published 0.10t with updates.
# 28.12.2005 0.13a - OOo version and locale independent install, different
setup options
# switches.
# 02.01.2006 0.13b - Some bugs removed.
# 24.01.2006 0.14a - Removed GPL, now LGPL 2.0+. Published.
# 09.02.2006 0.15a - Added installation of SDK. Heavily restructured script.
# 25.02.2006 0.15b - Added some functionality, improved script. Published.
#?25.04.2006 0.16a - De facto added huge number of bugs. This version reports
wrong script
# version (0.15b) and does not work at all. I consider it to
bad for end
# users use as a sort of LGPL exception. If someone has it,
(s)he should
# upgrade/downgrade to previous (0.14a)/next stable version
if available.
# 19.05.2006 0.17a - Some bugs removed & polishment (mostly variable cleanup),
de facto
# return back to 0.15b.
# 19.05.2006 0.17b - Previous, actually the same. Hopely debugged.
# 03.08.2006 0.17c - Current, same as above with some new findings about early
development
# in history. Also changed goodbye message.
# 15-25.08.2006 0.18a - planned minor improvements.
# 15-25.09.2006 0.18b - planned minor fixes.
# 15-25.10.2006 0.19a - planned minor improvements.
# 15-25.11.2006 0.19b - planned minor fixes.
# 15-25.12.2006 0.19c - planned critical fixes. Will be last published before
making major
# improvements (setup internal settings file, etc.).
Script will remain
# frozen on 01.12.2006.
# 26.12.2006-30.01.2007 - no fixes on 0.1x, work on 0.20a (trying on gui
install).
# 2007-2008 planned systemwide install script.
# 2008-++ planned more fixes & improvements, stability fixes.
# planned installation of POT and source code
# planned other distro smoke tests
# planned distribution detection
# planned internet download
# planned internet install
#---script end-------------------------------------------------
#=======================================================================================
# FINAL COMMENT, 20th March 2007:
# End 2006 .. start 2007 - development stopped since OpenOffice.org official
team made
# great progress - they finally started thinking about javascript installer (as
Firefox
# team does).
# Version 0.17c is an unstable release, but has all latest fixes made in 2006.
Represents
# itself intentioally as 0.17b as there were no great and impressive fixes
made.
# Last tried install on a Fedora Core 6.0 system was unsuccessfull, but it
worked on a FC 5.
# Anybody willing to develop it further is suggested to download all available
releases to
# see how those installers did their work. The installer was tested only on
Fedora Core 2.0
# 3.0, 3.1, 4.0, 4.1, 5.0, 6.0 and Redhat 9.0. It may only work on rpm based
systems, but
# also on other Linux systems as well.
#=======================================================================================
printf "**********************************************************************
\n\n"
printf "OpenOffice.org 2.0beta install script - TEST RELEASE \n\n"
printf "**********************************************************************
\n\n"
printf "Version 0.10s, (c)opyright Joze Klepec 2005\n\n"
printf "Licensed under GPL v2.0 or higher - this is free software. \n"
printf "For distribution, changess, rights, warranties, failures and losses see
\n"
printf "GPL License. From my point of view, you have all rights and wrongs that
\n"
printf "come with GPL. So read it carefully - it's a strong document! \n\n\n"
printf "Full text of GPL v2.0 is included at the bottom of the script. \n"
printf "If somebody cuts it off, you can find it at webpage http://www.fsf.org/
\n"
printf "which is owned and maintaned by Free Software Foundation, \n"
printf "51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA \n\n"
printf "***********************************************************************
\n"
printf "By default this is a full installation. Feedback without bloating and
\n"
printf "spamming is naturally welcome on address: joze.klepec afna siol.net \n"
printf "Comment out unnecesary bloat and use forward.\n\n"
printf "It was tested under Pingo Linux 3.1, Fedora Core 2, a standard
distro\n"
printf "in Slovenia.\n\n"
printf "For installation, extract current OOo tar or tar.gz archive, put this
\n"
printf "script in RPMS directory, run terminal in it, type ./OOoinstall.sh and
\n"
printf "there it is! It makes no questions, hopes it's useful, but no
warranties.\n\n"
printf "Removing any previous installations makes it run more smoothly, but
is\n"
printf "not neccessary.\n\n"
printf "***********************************************************************
\n"
printf "OpenOffice is licensed under GPL, LGPL, SISSL and third party
licenses.\n\n"
printf "Press a key if you have read OpenOffice.org License Readme and you
agree\n"
printf "to start with installation.\n\n"
printf "Press Ctrl-Z / Ctrl-C to stop the script if you don't agree with
License.\n\n"
printf "After one day, this install will run itself automatically. \n"
read -t 86400 #wait for entire day or until keypress
#***************************************************
# Installation is for Fedora Core 2 and similar;
# may play well also on RH9, Mandriva or Suse.
# On distributions like Slackware - use tar.
# Use alien to convert RPMS & apt to install elsewhere.
#***************************************************
#printf "Removing older version of OOo - pre1.1.x only... \n"
#currently remove is suggested manually!
#rpm -erase --allmatches openoffice.org*
#printf "Removing any probable failed installs of OOo 2.x... \n"
#rpm -erase --allmatches openoficeorg*
#rpm -erase --allmatches openofice.org*
#rpm -erase --allmatches openoffice.org*
#rpm -erase --allmatches openofficeorg*
printf "Installing Base & Core Libraries... \n"
rpm --install --hash ./openofficeorg-base-1.9.118-1.i586.rpm
./openofficeorg-core??-1.9.118-1.i586.rpm
./openofficeorg-core???-1.9.118-1.i586.rpm
printf "Installing PyUno... \n"
rpm --install --hash ./openofficeorg-pyuno-1.9.118-1.i586.rpm
printf "Installing TestTool... \n" #not neccessary in 2.x stable
rpm --install --hash ./openofficeorg-testtool-1.9.118-1.i586.rpm
printf "Installing Writer, Draw & Impress... \n"
rpm --install --hash ./openofficeorg-writer-1.9.118-1.i586.rpm
rpm --install --hash ./openofficeorg-draw-1.9.118-1.i586.rpm
rpm --install --hash ./openofficeorg-impress-1.9.118-1.i586.rpm
printf "Installing Calc & Math... \n"
rpm --install --hash ./openofficeorg-calc-1.9.118-1.i586.rpm
rpm --install --hash ./openofficeorg-math-1.9.118-1.i586.rpm
printf "Installing SpellChecker... \n"
rpm --install --hash ./openofficeorg-spellcheck-1.9.118-1.i586.rpm
printf "Installing filters... \n"
rpm --install --hash ./openofficeorg-graphicfilter-1.9.118-1.i586.rpm
rpm --install --hash ./openofficeorg-javafilter-1.9.118-1.i586.rpm
rpm --install --hash ./openofficeorg-xsltfilter-1.9.118-1.i586.rpm
printf "Installing desktop integration... \n"
# you'll need one more .rpm for FC3 & gnome
rpm --install --hash ./openofficeorg-gnome-integration-1.9.118-1.i586.rpm
#req'd base, 01
#**********desktop-integration*********************
# enable the correct option and leave gnome intact
#./desktop-integration/openofficeorg-debian-menus_1.9.118-1_all.deb
#rpm --install --hash
./desktop-integration/openofficeorg-freedesktop-menus-1.9.118-1.noarch.rpm
#rpm --install --hash
./desktop-integration/openofficeorg-mandriva-menus-1.9.118-1.noarch.rpm
rpm --install --hash
./desktop-integration/openofficeorg-redhat-menus-1.9.118-1.noarch.rpm
#rpm --install --hash
./desktop-integration/openofficeorg-suse-menus-1.9.118-1.noarch.rpm
printf " \n\n\n"
printf
"*******************************************************************************
\n"
printf "*
* \n"
printf "* Errare humanum est... .
* \n"
printf "*
* \n"
printf "* Please distribute the script, correct it and improve it where it
fails to * \n"
printf "* do the job - or doing the job correctly. You're welcome to act like
this. * \n"
printf "* If you do know what it does - correct the mistaken code. So you're
welcome * \n"
printf "* aboard. Don't forget to first sign yourself and heavily comment your
code. * \n"
printf "* For further details see attached GPL v2.0++ license or check on
www.fsf.org.* \n"
printf
"*******************************************************************************
\n\n"
printf " OpenOffice.org 2.x installation script completed! \a \n\n"
#**********************************************************************
# History
#
# History:
#
# 25.07.2005 - rough idea
# 26.07.2005 13:10 v0.10a - nonfunctional test version
# 26.07.2005 15:30 v0.10b - added GPL and most of text (this version saved as
backup),
# 26.07.2005 18:20 v0.10c - nonfunctional, dependencies check only
(--whatrequires),
# 26.07.2005 20:30 v0.10d - corrected text, informational printf's during
installation
# 26.07.2005 21:50 v0.10e - intermediate test version - corrected dependecies
problem
# 26.07.2005 23:20 v0.10f - little buggy, but functional last version
# 27.07.2005 00:08 v0.10g - bug at uninstall OOo 1.1.x /2.x found
# 27.07.2005 00:20 v0.10h - minor text bug removed
# 27.07.2005 00:22 v0.10i - another text bug removed
# 27.07.2005 00:25 v0.10j - removed newly discovered installation bug - 0Xu
wouldn't
# install - base & libs would improperly install,
renumbered
# releases (shift one back)
# 27.07.2005 00:30 v0.10k - fixed bell alert
# 27.07.2005 00:50 v0.10l - fixed text,txet,tex,tetx,tx,t ...
# 27.07.2005 01:00 v0.10m - printf bug li20 discovered
# 27.07.2005 01:10 v0.10n - printf bug 20 removed
# 27.07.2005 01:20 v0.10o - printf bug 20 removed
# 27.07.2005 01:36 v0.10p - percents added instead of ugly printf, attempt of
uninstall fix
# 27.07.2005 01:45 v0.10q - percents too much, hashs used instead
# 27.07.2005 03:00 v0.10r - temporarily remove uninstall feature
# 28.07.2005 05:40 v0.10s - mentioned types of OOo licenses
# 1.09.2005 09:50 v0.11a - planned display OOo license before install
# 15.09.2005 12:00 v0.15a - planned other distro smoke tests
# 01.10.2005 12:00 v0.20a - planned distribution detection
# 01.01.2006 12:00 v0.30a - planned internet download
# 01.03.2006 12:00 v0.40a - planned internet install
#
#=======================================================================================
# FINAL COMMENT, 20th March 2007:
# 2006..2007 - development stopped since OpenOffice.org official team made
great progress.
# Version 0.10s is one of stable releases, but there were several improvements
in 2006.
# Anybody willing to develop it further is suggested to download all available
releases to
# see how those installers did their work. The installer was tested only on
Fedora Core 2.0
# 3.0, 3.1, 4.0, 4.1, 5.0, 6.0 and Redhat 9.0. It may only work on rpm based
systems, but
# also on other Linux systems as well.
#=======================================================================================
#
#**********************************************************************
# GNU GENERAL PUBLIC LICENSE
# Version 2, June 1991
#
# Copyright (C) 1989, 1991 Free Software Foundation, Inc.
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Everyone is permitted to copy and distribute verbatim copies
# of this license document, but changing it is not allowed.
#
# Preamble
#
# The licenses for most software are designed to take away your
#freedom to share and change it. By contrast, the GNU General Public
#License is intended to guarantee your freedom to share and change free
#software--to make sure the software is free for all its users. This
#General Public License applies to most of the Free Software
#Foundation's software and to any other program whose authors commit to
#using it. (Some other Free Software Foundation software is covered by
#the GNU Library General Public License instead.) You can apply it to
#your programs, too.
#
# When we speak of free software, we are referring to freedom, not
#price. Our General Public Licenses are designed to make sure that you
#have the freedom to distribute copies of free software (and charge for
#this service if you wish), that you receive source code or can get it
#if you want it, that you can change the software or use pieces of it
#in new free programs; and that you know you can do these things.
#
# To protect your rights, we need to make restrictions that forbid
#anyone to deny you these rights or to ask you to surrender the rights.
#These restrictions translate to certain responsibilities for you if you
#distribute copies of the software, or if you modify it.
#
# For example, if you distribute copies of such a program, whether
#gratis or for a fee, you must give the recipients all the rights that
#you have. You must make sure that they, too, receive or can get the
#source code. And you must show them these terms so they know their
#rights.
#
# We protect your rights with two steps: (1) copyright the software, and
#(2) offer you this license which gives you legal permission to copy,
#distribute and/or modify the software.
#
# Also, for each author's protection and ours, we want to make certain
#that everyone understands that there is no warranty for this free
#software. If the software is modified by someone else and passed on, we
#want its recipients to know that what they have is not the original, so
#that any problems introduced by others will not reflect on the original
#authors' reputations.
#
# Finally, any free program is threatened constantly by software
#patents. We wish to avoid the danger that redistributors of a free
#program will individually obtain patent licenses, in effect making the
#program proprietary. To prevent this, we have made it clear that any
#patent must be licensed for everyone's free use or not licensed at all.
#
# The precise terms and conditions for copying, distribution and
#modification follow.
#
# GNU GENERAL PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. This License applies to any program or other work which contains
#a notice placed by the copyright holder saying it may be distributed
#under the terms of this General Public License. The "Program", below,
#refers to any such program or work, and a "work based on the Program"
#means either the Program or any derivative work under copyright law:
#that is to say, a work containing the Program or a portion of it,
#either verbatim or with modifications and/or translated into another
#language. (Hereinafter, translation is included without limitation in
#the term "modification".) Each licensee is addressed as "you".
#
#Activities other than copying, distribution and modification are not
#covered by this License; they are outside its scope. The act of
#running the Program is not restricted, and the output from the Program
#is covered only if its contents constitute a work based on the
#Program (independent of having been made by running the Program).
#Whether that is true depends on what the Program does.
#
# 1. You may copy and distribute verbatim copies of the Program's
#source code as you receive it, in any medium, provided that you
#conspicuously and appropriately publish on each copy an appropriate
#copyright notice and disclaimer of warranty; keep intact all the
#notices that refer to this License and to the absence of any warranty;
#and give any other recipients of the Program a copy of this License
#along with the Program.
#
#You may charge a fee for the physical act of transferring a copy, and
#you may at your option offer warranty protection in exchange for a fee.
#
# 2. You may modify your copy or copies of the Program or any portion
#of it, thus forming a work based on the Program, and copy and
#distribute such modifications or work under the terms of Section 1
#above, provided that you also meet all of these conditions:
#
# a) You must cause the modified files to carry prominent notices
# stating that you changed the files and the date of any change.
#
# b) You must cause any work that you distribute or publish, that in
# whole or in part contains or is derived from the Program or any
# part thereof, to be licensed as a whole at no charge to all third
# parties under the terms of this License.
#
# c) If the modified program normally reads commands interactively
# when run, you must cause it, when started running for such
# interactive use in the most ordinary way, to print or display an
# announcement including an appropriate copyright notice and a
# notice that there is no warranty (or else, saying that you provide
# a warranty) and that users may redistribute the program under
# these conditions, and telling the user how to view a copy of this
# License. (Exception: if the Program itself is interactive but
# does not normally print such an announcement, your work based on
# the Program is not required to print an announcement.)
#
#These requirements apply to the modified work as a whole. If
#identifiable sections of that work are not derived from the Program,
#and can be reasonably considered independent and separate works in
#themselves, then this License, and its terms, do not apply to those
#sections when you distribute them as separate works. But when you
#distribute the same sections as part of a whole which is a work based
#on the Program, the distribution of the whole must be on the terms of
#this License, whose permissions for other licensees extend to the
#entire whole, and thus to each and every part regardless of who wrote it.
#
#Thus, it is not the intent of this section to claim rights or contest
#your rights to work written entirely by you; rather, the intent is to
#exercise the right to control the distribution of derivative or
#collective works based on the Program.
#
#In addition, mere aggregation of another work not based on the Program
#with the Program (or with a work based on the Program) on a volume of
#a storage or distribution medium does not bring the other work under
#the scope of this License.
#
# 3. You may copy and distribute the Program (or a work based on it,
#under Section 2) in object code or executable form under the terms of
#Sections 1 and 2 above provided that you also do one of the following:
#
# a) Accompany it with the complete corresponding machine-readable
# source code, which must be distributed under the terms of Sections
# 1 and 2 above on a medium customarily used for software interchange; or,
#
# b) Accompany it with a written offer, valid for at least three
# years, to give any third party, for a charge no more than your
# cost of physically performing source distribution, a complete
# machine-readable copy of the corresponding source code, to be
# distributed under the terms of Sections 1 and 2 above on a medium
# customarily used for software interchange; or,
#
# c) Accompany it with the information you received as to the offer
# to distribute corresponding source code. (This alternative is
# allowed only for noncommercial distribution and only if you
# received the program in object code or executable form with such
# an offer, in accord with Subsection b above.)
#
#The source code for a work means the preferred form of the work for
#making modifications to it. For an executable work, complete source
#code means all the source code for all modules it contains, plus any
#associated interface definition files, plus the scripts used to
#control compilation and installation of the executable. However, as a
#special exception, the source code distributed need not include
#anything that is normally distributed (in either source or binary
#form) with the major components (compiler, kernel, and so on) of the
#operating system on which the executable runs, unless that component
#itself accompanies the executable.
#
#If distribution of executable or object code is made by offering
#access to copy from a designated place, then offering equivalent
#access to copy the source code from the same place counts as
#distribution of the source code, even though third parties are not
#compelled to copy the source along with the object code.
#
# 4. You may not copy, modify, sublicense, or distribute the Program
#except as expressly provided under this License. Any attempt
#otherwise to copy, modify, sublicense or distribute the Program is
#void, and will automatically terminate your rights under this License.
#However, parties who have received copies, or rights, from you under
#this License will not have their licenses terminated so long as such
#parties remain in full compliance.
#
# 5. You are not required to accept this License, since you have not
#signed it. However, nothing else grants you permission to modify or
#distribute the Program or its derivative works. These actions are
#prohibited by law if you do not accept this License. Therefore, by
#modifying or distributing the Program (or any work based on the
#Program), you indicate your acceptance of this License to do so, and
#all its terms and conditions for copying, distributing or modifying
#the Program or works based on it.
#
# 6. Each time you redistribute the Program (or any work based on the
#Program), the recipient automatically receives a license from the
#original licensor to copy, distribute or modify the Program subject to
#these terms and conditions. You may not impose any further
#restrictions on the recipients' exercise of the rights granted herein.
#You are not responsible for enforcing compliance by third parties to
#this License.
#
# 7. If, as a consequence of a court judgment or allegation of patent
#infringement or for any other reason (not limited to patent issues),
#conditions are imposed on you (whether by court order, agreement or
#otherwise) that contradict the conditions of this License, they do not
#excuse you from the conditions of this License. If you cannot
#distribute so as to satisfy simultaneously your obligations under this
#License and any other pertinent obligations, then as a consequence you
#may not distribute the Program at all. For example, if a patent
#license would not permit royalty-free redistribution of the Program by
#all those who receive copies directly or indirectly through you, then
#the only way you could satisfy both it and this License would be to
#refrain entirely from distribution of the Program.
#
#If any portion of this section is held invalid or unenforceable under
#any particular circumstance, the balance of the section is intended to
#apply and the section as a whole is intended to apply in other
#circumstances.
#
#It is not the purpose of this section to induce you to infringe any
#patents or other property right claims or to contest validity of any
#such claims; this section has the sole purpose of protecting the
#integrity of the free software distribution system, which is
#implemented by public license practices. Many people have made
#generous contributions to the wide range of software distributed
#through that system in reliance on consistent application of that
#system; it is up to the author/donor to decide if he or she is willing
#to distribute software through any other system and a licensee cannot
#impose that choice.
#
#This section is intended to make thoroughly clear what is believed to
#be a consequence of the rest of this License.
#
# 8. If the distribution and/or use of the Program is restricted in
#certain countries either by patents or by copyrighted interfaces, the
#original copyright holder who places the Program under this License
#may add an explicit geographical distribution limitation excluding
#those countries, so that distribution is permitted only in or among
#countries not thus excluded. In such case, this License incorporates
#the limitation as if written in the body of this License.
#
# 9. The Free Software Foundation may publish revised and/or new versions
#of the General Public License from time to time. Such new versions will
#be similar in spirit to the present version, but may differ in detail to
#address new problems or concerns.
#
#Each version is given a distinguishing version number. If the Program
#specifies a version number of this License which applies to it and "any
#later version", you have the option of following the terms and conditions
#either of that version or of any later version published by the Free
#Software Foundation. If the Program does not specify a version number of
#this License, you may choose any version ever published by the Free Software
#Foundation.
#
# 10. If you wish to incorporate parts of the Program into other free
#programs whose distribution conditions are different, write to the author
#to ask for permission. For software which is copyrighted by the Free
#Software Foundation, write to the Free Software Foundation; we sometimes
#make exceptions for this. Our decision will be guided by the two goals
#of preserving the free status of all derivatives of our free software and
#of promoting the sharing and reuse of software generally.
#
# NO WARRANTY
#
# 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
#FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
#OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
#PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
#OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
#TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
#PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
#REPAIR OR CORRECTION.
#
# 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
#WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
#REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
#INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
#OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
#TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
#YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
#PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
#POSSIBILITY OF SUCH DAMAGES.
#
# END OF TERMS AND CONDITIONS
#
# How to Apply These Terms to Your New Programs
#
# If you develop a new program, and you want it to be of the greatest
#possible use to the public, the best way to achieve this is to make it
#free software which everyone can redistribute and change under these terms.
#
# To do so, attach the following notices to the program. It is safest
#to attach them to the start of each source file to most effectively
#convey the exclusion of warranty; and each file should have at least
#the "copyright" line and a pointer to where the full notice is found.
#
# <one line to give the program's name and a brief idea of what it does.>
# Copyright (C) <year> <name of author>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
#Also add information on how to contact you by electronic and paper mail.
#
#If the program is interactive, make it output a short notice like this
#when it starts in an interactive mode:
#
# Gnomovision version 69, Copyright (C) year name of author
# Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
# This is free software, and you are welcome to redistribute it
# under certain conditions; type `show c' for details.
#
#The hypothetical commands `show w' and `show c' should show the appropriate
#parts of the General Public License. Of course, the commands you use may
#be called something other than `show w' and `show c'; they could even be
#mouse-clicks or menu items--whatever suits your program.
#
#You should also get your employer (if you work as a programmer) or your
#school, if any, to sign a "copyright disclaimer" for the program, if
#necessary. Here is a sample; alter the names:
#
# Yoyodyne, Inc., hereby disclaims all copyright interest in the program
# `Gnomovision' (which makes passes at compilers) written by James Hacker.
#
# <signature of Ty Coon>, 1 April 1989
# Ty Coon, President of Vice
#
#This General Public License does not permit incorporating your program into
#proprietary programs. If your program is a subroutine library, you may
#consider it more useful to permit linking proprietary applications with the
#library. If this is what you want to do, use the GNU Library General
#Public License instead of this License.
#**************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]