I am installing a package in Solaris server, my postinstallation and postremove file are kept in below path:
I have added this path in prototype file like below
f none /opt/NCRlu/bin/postinstall=/export/home/username/ABC/root/opt/ABC/bin/postinstall 0755 root other
f none/opt/NCRlu/bin/postremove=/export/home/username/ABC/root/opt/ABC/bin/ postremove 0755 root other
and made changes in pkginfo and pkgmap, I am using make command to create package. when I install the package it says installation successful. But the script which is kept in postinstall and postremove, that is not working. What changes shall I do, so that my package work properly.Shall I change the path of postinstall and postremove?