#1113 Remove note about rpm scriptlet arg being zero
Merged 2 years ago by tibbs. Opened 2 years ago by oturpe.
oturpe/packaging-committee scriptlet-args-fixup  into  master

@@ -35,8 +35,7 @@ 

  they will be supplied with an argument.

  This argument, accessed via $1 (for shell scripts)

  is the number of packages of this name

- which will be left on the system when the action completes,

- except for %pretrans and %posttrans which are always run with $1 as 0.

+ which will be left on the system when the action completes.

  So for the common case of install, upgrade, and uninstall we have:

  

  [cols=",,,",]

In earlier commit,
the table about rpm scriptlet argument value was updated
to show non-zero values for %pretrans and %posttrans scriptlets.
However, the paragraph right above the table
is still claiming the values are zero.
Removing the claim, since it is not true any more.

Disclaimer: I know almost nothing about rpm scriptlets.
I was just following the notifications from this repository,
and there seemed to be an inconsistency here.

Even after this change, the modified paragraph is a bit confusing,
because is not clear what is meant by "action",
especially in case of the transaction triggers %pretrans and %posttrans.
So maybe it would be even better
if somebody who actually understands these things
would submit a better update.

rebased onto 631266d

2 years ago

Pull-Request has been merged by tibbs

2 years ago
Metadata