added INSTALL_NOSCRIPTS
CVS patchset: 545 CVS date: 1996/04/15 22:22:50
This commit is contained in:
parent
f9718739d9
commit
6156911e0f
|
@ -263,7 +263,7 @@ int rpmInstallPackage(char * prefix, rpmdb db, int fd, int flags,
|
|||
}
|
||||
|
||||
message(MESS_DEBUG, "running preinstall script (if any)\n");
|
||||
if (runScript(prefix, h, RPMTAG_PREIN)) {
|
||||
if (runScript(prefix, h, RPMTAG_PREIN, flags & INSTALL_NOSCRIPTS)) {
|
||||
free(fileList);
|
||||
if (replacedList) free(replacedList);
|
||||
return 2;
|
||||
|
@ -419,7 +419,7 @@ int rpmInstallPackage(char * prefix, rpmdb db, int fd, int flags,
|
|||
|
||||
message(MESS_DEBUG, "running postinstall script (if any)\n");
|
||||
|
||||
if (runScript(prefix, h, RPMTAG_POSTIN)) {
|
||||
if (runScript(prefix, h, RPMTAG_POSTIN, flags & INSTALL_NOSCRIPTS)) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue