aboutsummaryrefslogtreecommitdiffstats
path: root/rpmpopt
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-05-21 02:34:12 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-05-21 02:34:12 +0000
commite847c8c33f1a5e6a0042a4aae10c77e8edc46616 (patch)
tree5a67580b9d6ba059ea7a47454cce49617d844fe1 /rpmpopt
parentc88758769f1b000a404cc8058d83d137251d25ad (diff)
downloadrpm-setup-e847c8c33f1a5e6a0042a4aae10c77e8edc46616.tar
rpm-setup-e847c8c33f1a5e6a0042a4aae10c77e8edc46616.tar.gz
rpm-setup-e847c8c33f1a5e6a0042a4aae10c77e8edc46616.tar.bz2
rpm-setup-e847c8c33f1a5e6a0042a4aae10c77e8edc46616.tar.xz
rpm-setup-e847c8c33f1a5e6a0042a4aae10c77e8edc46616.zip
- impprove --scripts option to list also %posttrans (Luca Berra)
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)"
+