_prefix hard-coded to /usr?

hmiller at hiwaay.net hmiller at hiwaay.net
Mon Nov 30 22:31:31 UTC 2009


The $RPM_INSTALL_PREFIX variable was what I needed in the %post  
section to show me where the application was installed, so that works  
now.

Thanks,
Herb Miller


Quoting "Mitko Haralanov" <mitko at qlogic.com>:

> On Sat, 28 Nov 2009 11:39:24 -0800
> "hmiller at hiwaay.net" <hmiller at hiwaay.net> wrote:
>
>> However, when I echo ${_prefix} it is not set to /usr/local.  It is
>> set to /usr
>
> How are you echo'ing %{_prefix}? If it is from inside your %post
> script, does it show the correct value?
>
> You could look into the $RPM_INSTALL_PREFIX variable.
>
> --
> Mitko Haralanov					 mitko at qlogic.com
> Senior Software Engineer			     650.934.8064
> NSG InfiniBand Engineering		    http://www.qlogic.com
> ==========================================
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>




More information about the Rpm-list mailing list