Search Results

Search: Posts Made By: kingpmp
9,077
Posted By kingpmp
Problem solved. In file prototype, the path...
Problem solved.

In file prototype, the path must be relative path rather than absolute path.

/path-1/path-2/... (x)

path-1/path-2/... (v)
9,077
Posted By kingpmp
Noop....basically that's how UNIX works, you...
Noop....basically that's how UNIX works, you never know what's going on behind the scene.

BASEDIR is a default environment variable. It represents where the root install path, based on Sun...
9,077
Posted By kingpmp
It's Solaris package. $1 is an implicit...
It's Solaris package.

$1 is an implicit parameter passed into request script.
9,077
Posted By kingpmp
How to modify BASEDIR with request script?
Here is request script:


#!/bin/sh
echo "Current install root path is [ $BASEDIR ]"
CONFIRM="n"
while [ "$CONFIRM" != "y" ]
do
BASEDIR=""
while true
do
...
3,627
Posted By kingpmp
My mistake! It still doesn't work! According...
My mistake! It still doesn't work!

According to Solaris packaging documentation, the only place, which the installer can solicit user input, is through "request script". That's a stage far before...
3,627
Posted By kingpmp
Thanks era. I went through pkgadd and pkgmk...
Thanks era.

I went through pkgadd and pkgmk documentation and got no answer for this, unfortunately!

After disucssion with my colleague, we came up with an idea - read the user input from a jar...
3,627
Posted By kingpmp
By the way, if I run the script separately,...
By the way, if I run the script separately, everything is fine!
3,627
Posted By kingpmp
Package post-install script problem
I wrote a post-install script, which is executed after the package installation by command like " pkgadd -d /mypackage.pkg".

I also want to read user input in post-install script as follows:

...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 03:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy