diff options
author | ewt <devnull@localhost> | 1996-04-15 22:22:50 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-04-15 22:22:50 +0000 |
commit | 6156911e0f116578b1c541dadf0fdd2e618fd7fe (patch) | |
tree | c34ba98f9e9d2ed702ca550202e4dd0677932b94 /lib | |
parent | f9718739d9c760ee3c3bf4f039db91d08a0da559 (diff) | |
download | rpm-6156911e0f116578b1c541dadf0fdd2e618fd7fe.tar.gz rpm-6156911e0f116578b1c541dadf0fdd2e618fd7fe.tar.bz2 rpm-6156911e0f116578b1c541dadf0fdd2e618fd7fe.zip |
added INSTALL_NOSCRIPTS
CVS patchset: 545
CVS date: 1996/04/15 22:22:50
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.c b/lib/install.c index 7d4249438..2fc9f001c 100644 --- a/lib/install.c +++ b/lib/install.c @@ -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; } |