Re: Running (OpenOffice) setup scripts in %post

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

 



"Raymond, Jeff" wrote:
> 
> Hello,
> 
>     I am trying to install OpenOffice during the post setup.  There is a a simple script to do it.  It is just a shell script but the .install script is not running during the post phase.  I tried using the --interpreter swith with /usr/bin/bash as the shell but that does not work either does any one know how to make a shell script run in Post?
> 

OpenOffice needs an X server in order to install.  Make sure that the
virtual frame buffer Xvfb is among the list of packages you install,
then include something like the following (which I use to install
OpenOffice from an NFS-mounted server) in your script:

##
## Set up OpenOffice
##
/usr/X11R6/bin/Xvfb :1 &
DISPLAY='localhost:1.0'
export DISPLAY
cd /mnt/nfs1/openoffice1.0
./install --prefix=/usr/local

Andrew Leahy
aleahy@xxxxxxxx





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux