[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Use of %{INSTALLPREFIX} in %post section
- From: arun sharma escalate com
- To: rpm-list redhat com
- Subject: Use of %{INSTALLPREFIX} in %post section
- Date: Fri, 25 Jan 2002 13:28:49 -0800
Hi,
I have a relocatable package with a default prefix, which could be
overridden at install time.
After the package installation, I'd like to execute a command on one of the
installed files
using the %post macro.
But without having access to %{INSTALLPREFIX}, I can't find the installed
files. I've examined
the environment of the shell that's invoked for %post and I didn't find
anything that had the
install directory.
So my question is, how do I locate the installed files in %post for a
relocatable package ?
-Arun
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]