Hello.
is there any way to determine whether a user has used the --prefix tag. What I want to do is sed a file with the prefix information if the user choses to relocate the package.
this is using redhat 7.3 and rpm 4.0.4
thanks, Phil
if [ "${RPM_INSTALL_PREFIX}" = "%{prefix}" ] ; then
# User has not use --prefix
else
# User has used prefix
fi