Si.
Prilagam skripto, mogoče boš moral vklopiti prisilno namestitev na
(--force). Zadnja verzija, ki sem jo namestil, je bila 2.0.2 m156 na
pingo 4.1, prva pa 1.9 m118 na pingo 3.0.
Zadeva je še v povojih, je pa po moje kar dodelana, zato prosim tudi za
kak feedback, tako negativen kot pozitiven. Načrtujem še detekcijo
Linuxa in distribucije, potem bo pa konec šal z njo. Z malo if-ov bo
končana, ko se mi zljubi oziroma ko prileti nova različica.
Miha Jesensek pravi:
nevermind ... jaz sem zafural nekaj prej.
zdaj dela ko raketa, vkljucno s slovarji.
pa se bolj seksi knofe ma :)
lp
M.
Miha Jesensek wrote:
ce prav razumem tile *redhad* meniji zelijo openoffice.org-core01 potem
za dependecije, ki je kao missing...
al sem kaj sfalil?
lp
M.
Robert Ludvik wrote:
Quoting Miha Jesensek <[EMAIL PROTECTED]>:
mislis, da je boljse, da vse fliknem dol al samo updejtam?
jaz bi kar
rpm -e `rpm -qa|grep openoffice`
rpm -Uvh RPMS/*.rpm
rpm -Uvh RPMS/desktop-integration/*redhat*.rpm
Robert Ludvik
-
--
Lep pozdrav!
Have a nice day!
Jože Klepec,
Golnik 147
SI 4204 Golnik
Slovenija - Slovenia
===
Vsa odvečna pošta bo zavržena.
All excessive mail will be disregarded.
===
#script start--------------------------------------------------
OOO_MAJOR="2" #Major version
OOO_MINOR="0.2" #Minor version
OOO_BUILDID="156" #Build ID
OOO_BUILDMARK="m156" #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 in official filenames - blame
kbderrorg.
OOO_VERSION=$MAJOR+"."+$MINOR",_"+$OOO_BUILDID #Version with the build mark
OOO_FILE_VERSION=$MAJOR+"."+$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.15b" #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 $OOO_INSTALL_SCRIPT_VERSION
printf "\nAuthor: "
printf $OOO_INSTALL_SCRIPT_MAKER
printf "\nMaintainer: "
printf $OOO_INSTALL_SCRIPT_MAINTAINER
printf "\n\nInstall mode is: "
printf $OOO_INSTALL_MODE
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
#fully extras - Translation Files (POT), SDK and source
printf "Software Development Kit\n"
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
"*******************************************************************************\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 created and tested Pingo Linux 3.1, 3.2, 4.0 and 4.1, Slovenian
*\n"
printf "*standard Linux distro based on Fedora Core.
*\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
#
# History:
#
# 25.07.2005 - Rough idea.
# 26.07.2005 0.01a - Nonfunctional test version.
# 26.07.2005 0.10b - Added GPL and most of text (this version saved as backup).
# 26.07.2005 0.10s - Corrected bugs, printouts.
# 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 - OOo version update.
# 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+
# 09.02.2006 0.15a - Added installation of SDK. Heavily restructured script.
# 25.02.2006 0.15b - Added some functionality, improved script.
# ??.03/04.2006 0.20a - planned debian installation. Script remains intact for
a while.
#
# planned installation of POT and source code
# planned other distro smoke tests
# planned distribution detection
# planned internet download
# planned internet install
#---script end-------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]