From 631266d9aa03cf558bff88b13428b14e4ef9dddc Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Oct 11 2021 18:21:35 +0000 Subject: Remove note about rpm scriptlet arg being zero 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. --- diff --git a/guidelines/modules/ROOT/pages/Scriptlets.adoc b/guidelines/modules/ROOT/pages/Scriptlets.adoc index 555c37b..7f0847a 100644 --- a/guidelines/modules/ROOT/pages/Scriptlets.adoc +++ b/guidelines/modules/ROOT/pages/Scriptlets.adoc @@ -35,8 +35,7 @@ When scriptlets are called, 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=",,,",]