Allow pre- and posttrans to omit interpreter or body (again)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Dec 2011 13:06:53 +0000 (15:06 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Dec 2011 13:06:53 +0000 (15:06 +0200)
commit9108129a3ddf711253ee97f89ebe62de79bbd2a0
tree49c6c75e7da97be8a263f4612738df42c4560c55
parent4abb1d8bc17460783f7e83a3ada9c465cf51fc34
Allow pre- and posttrans to omit interpreter or body (again)

- While most scriptlets have both an interpreter and a body, neither
  is strictly required: body can be omitted in cases like special
  purpose executables (eg -p /sbin/ldconfig) and for interpreter,
  /bin/sh is used if missing. This has been "broken" from somewhere
  around rpm 4.7.x and nobody noticed :)
lib/rpmte.c