On Fri, 9 Jul 2004, Gerrit P. Haase wrote:

> Hello,
>
> will it work with setup.exe to set the PATH in a postinstall script?

A postinstall script is just like any other shell script.  I don't see any
reason why it wouldn't.

> I.e.:
>
> export PATH=/usr/X11R6/bin:$PATH
> * do something *
> Gerrit

Well, postinstall scripts are usually run with /bin/sh, which means that
you'd have to use the following syntax:

PATH="/usr/X11R6/bin:$PATH"
export PATH

(note the quotes, BTW, as many Windows paths have spaces).
HTH,
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Reply via email to