]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- postun never fails now
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Nov 2008 16:22:55 +0000 (16:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-postun-nofail.patch -> 1.1

rpm-postun-nofail.patch [new file with mode: 0644]

diff --git a/rpm-postun-nofail.patch b/rpm-postun-nofail.patch
new file mode 100644 (file)
index 0000000..12a6406
--- /dev/null
@@ -0,0 +1,13 @@
+--- rpm-4.5/lib/psm.c.org      2008-11-21 17:20:34.293584455 +0100
++++ rpm-4.5/lib/psm.c  2008-11-21 17:21:41.482728047 +0100
+@@ -2114,8 +2114,8 @@
+           psm->countCorrection = -1;
+           if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOPOSTUN)) {
+-              rc = rpmpsmNext(psm, PSM_SCRIPT);
+-              if (rc) break;
++              if (rpmpsmNext(psm, PSM_SCRIPT))
++                  rpmMessage(RPMMESS_VERBOSE, _("Ignoring failed %%postun scriptlet\n"));
+           }
+           if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOTRIGGERPOSTUN)) {
This page took 0.700417 seconds and 4 git commands to generate.