LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to know where the s/w is instslled (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-know-where-the-s-w-is-instslled-522246/)

dsubbarao 01-24-2007 12:11 AM

how to know where the s/w is instslled
 
Hi,

I am developing a relocatable rpm.I have specified prefix tag in Spec file. Is there any way to find where the user installs the s/w in the spec file say in %post, that is exact path where user is installing the software.

Thanks in Advance

unSpawn 01-24-2007 05:52 AM

See Maximum RPM's explanation of using $RPM_INSTALL_PREFIX in "Install/Erase-time Scripts"?


All times are GMT -5. The time now is 08:33 AM.