Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Patch from Michal Marek.
This commit is contained in:
parent
3e322f3a03
commit
4772050149
|
@ -16,6 +16,10 @@
|
|||
#
|
||||
|
||||
rpm alias --scripts --qf '\
|
||||
%|PRETRANS?{pretrans scriptlet\
|
||||
%|PRETRANSPROG?{ (using %{PRETRANSPROG})}|:\n%{PRETRANS}\n}:\
|
||||
{%|PRETRANSPROG?{pretrans program: %{PRETRANSPROG}\n}|}|\
|
||||
\
|
||||
%|PREIN?{preinstall scriptlet\
|
||||
%|PREINPROG?{ (using %{PREINPROG})}|:\n%{PREIN}\n}:\
|
||||
{%|PREINPROG?{preinstall program: %{PREINPROG}\n}|}|\
|
||||
|
@ -32,6 +36,10 @@ rpm alias --scripts --qf '\
|
|||
%|POSTUNPROG?{ (using %{POSTUNPROG})}|:\n%{POSTUN}\n}:\
|
||||
{%|POSTUNPROG?{postuninstall program: %{POSTUNPROG}\n}|}|\
|
||||
\
|
||||
%|POSTTRANS?{posttrans scriptlet\
|
||||
%|POSTTRANSPROG?{ (using %{POSTTRANSPROG})}|:\n%{POSTTRANS}\n}:\
|
||||
{%|POSTTRANSPROG?{posttrans program: %{POSTTRANSPROG}\n}|}|\
|
||||
\
|
||||
%|VERIFYSCRIPT?{verify scriptlet:\n%{VERIFYSCRIPT}\n}|\
|
||||
' \
|
||||
--POPTdesc=$"list install/erase scriptlets from package(s)"
|
||||
|
|
Loading…
Reference in New Issue