aboutsummaryrefslogtreecommitdiffstats
path: root/rpmpopt
diff options
context:
space:
mode:
Diffstat (limited to 'rpmpopt')
-rw-r--r--rpmpopt30
1 files changed, 30 insertions, 0 deletions
diff --git a/rpmpopt b/rpmpopt
index 95dadec..104c4db 100644
--- a/rpmpopt
+++ b/rpmpopt
@@ -22,3 +22,33 @@ rpm exec --rmsource rpmb --rmsource
rpm exec --rmspec rpmb --rmspec
rpm exec --target rpmb --target
rpm exec --short-circuit rpmb --short-circuit
+
+rpm alias --scripts --qf '\
+%|PREIN?{preinstall scriptlet\
+%|PREINPROG?{ (using %{PREINPROG})}|:\n%{PREIN}\n}:\
+{%|PREINPROG?{preinstall program: %{PREINPROG}\n}|}|\
+\
+%|POSTIN?{postinstall scriptlet\
+%|POSTINPROG?{ (using %{POSTINPROG})}|:\n%{POSTIN}\n}:\
+{%|POSTINPROG?{postinstall program: %{POSTINPROG}\n}|}|\
+\
+%|PREUN?{preuninstall scriptlet\
+%|PREUNPROG?{ (using %{PREUNPROG})}|:\n%{PREUN}\n}:\
+{%|PREUNPROG?{preuninstall program: %{PREUNPROG}\n}|}|\
+\
+%|POSTUN?{postuninstall scriptlet\
+%|POSTUNPROG?{ (using %{POSTUNPROG})}|:\n%{POSTUN}\n}:\
+{%|POSTUNPROG?{postuninstall program: %{POSTUNPROG}\n}|}|\
+\
+%|PRETRANS?{pretransaction scriptlet\
+%|PRETRANSPROG?{ (using %{PRETRANSPROG})}|:\n%{PRETRANS}\n}:\
+{%|PRETRANSPROG?{pretransaction program: %{PRETRANSPROG}\n}|}|\
+\
+%|POSTTRANS?{posttransaction scriptlet\
+%|POSTTRANSPROG?{ (using %{POSTTRANSPROG})}|:\n%{POSTTRANS}\n}:\
+{%|POSTTRANSPROG?{posttransaction program: %{POSTTRANSPROG}\n}|}|\
+\
+%|VERIFYSCRIPT?{verify scriptlet:\n%{VERIFYSCRIPT}\n}|\
+' \
+ --POPTdesc=$"list install/erase scriptlets from package(s)"
+