Filter out error exit codes from non-pre scriptlets (rhbz#216221, #rhbz465409)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Oct 2008 09:04:19 +0000 (12:04 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Oct 2008 09:04:19 +0000 (12:04 +0300)
commit9cfb380cc4529ea6b9314cc67819069c8e9c1a23
tree363d1414086d3278e88aaf323536ea3f06955094
parent6f3f5a36a3938fd13b44246f8484c35ba1cc5ac3
Filter out error exit codes from non-pre scriptlets (rhbz#216221, #rhbz465409)
- typos and thinkos in scriptlets often cause duplicates to be left around
  for no good reason
- treat non-zero exit codes from scriptlets as just warnings instead of
  errors
- ... except that %pre and %preun are sometimes used for preventing
  install/uninstall of a package, preserve the traditional behavior for them
- abuse rpmtsNotify() "total" value for signaling warning/error to callback
lib/psm.c