All, How can I do the followings during the installation: rpm -i package.rpm -D/opt/mydirectory -Nservername How can i take inputs -D/opt/mydirectory and -Nservername into the postinstall process? How can I script the postinstall part of the spec file? Thank you. Barry _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list