Ask a Question related to Sun Solaris, Design and Development.
-
edulus #1
pkgadd problem
Hi.
I try to create and install a patch with pkgadd and a class
installation script for backing-up the original files. But not work.
The cp of the files is done without start the class action script.
The proto file:
ksh > cat indbproto
i i.indb
i r.indb
i pkginfo
i request
i preinstall
d none $PRODUCT_ROOT 0755 $Owner $Group
d none $PRODUCT_ROOT/COMMON 0755 $Owner $Group
d none $PRODUCT_ROOT/CRONPROC 0755 $Owner $Group
f indb $PRODUCT_ROOT/ReleaseNotes_INDB=/sa4/ipnet/tmp/P4/INDB/ReleaseNotes_INDB
755 $Owner $Group
[...]
This the test class action installation script:
ksh > cat i.indb
#!/bin/sh
echo "HELLO CLASS!!"
while read src dest; do
echo $src $dest
cp -f $src /tmp
done
exit 0
Instead the remove class action script work fine:
ksh > cat r.indb
#!/bin/sh
echo "HELLO CLASS!!"
while read src dest; do
echo "src=${src} dest=${dest}"
cp -f $src /tmp || exit 2
rm -f $src
done
exit 0
Can you help me?
Thanks
edulus Guest
-
contribute problem - access denied file may not existpermission problem
Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,... -
Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in... -
#21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde... -
Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I... -
potential pkgadd bug (tricky one)
Hi! Hope someone here can bring some light on this issue. We are creating a .pkg file that contains a postinstall section that starts of two...



Reply With Quote

