Relocatable RPM package, access to --prefix value in %postun/%post section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there

I've built a relocatable RPM package which is installed like this:

sudo rpm -i --prefix=/app/test1 --force --nodeps test-2.0.0-1.i386.rpm
 
I need access to the passed value to the --prefix option (/app/test1) within the %postun and %post section of the spec file. Is there an option to get this value?

Thanks a lot for your help

Oliver

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux