summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-07-09 23:10:25 +0000
committerjbj <devnull@localhost>2000-07-09 23:10:25 +0000
commitdb3190176b4615621024fdf2cfaad406ba11aa83 (patch)
tree48728dd20b5647795c524cee7d85168f37123132 /rpmpopt.in
parent10eb9f2c5d4736cd0ca71e5e25c0f3e97de3a4e9 (diff)
downloadrpm-db3190176b4615621024fdf2cfaad406ba11aa83.tar.gz
rpm-db3190176b4615621024fdf2cfaad406ba11aa83.tar.bz2
rpm-db3190176b4615621024fdf2cfaad406ba11aa83.zip
- prefix payload paths with "./", otherwise "/" can't be represented.
- fix: compressFilelist broke when fed '/'. - fix: typo in --last popt alias (#12690). - fix: clean file paths before performing -qf (#12493). CVS patchset: 3930 CVS date: 2000/07/09 23:10:25
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index b456f2274..6558745b7 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -63,8 +63,8 @@ rpm alias --triggerscripts --qf '\
%{TRIGGERSCRIPTS}\n]'
rpm alias --triggers --triggerscripts
-rpm alias --last --qf ''%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
- --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-35s %-s\n\", $1, substr($0,length($1)+2))}' "
+rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
+ --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' "
rpm alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]'
@@ -245,8 +245,8 @@ rpmq alias --triggerscripts --qf '\
%{TRIGGERSCRIPTS}\n]'
rpmq alias --triggers --triggerscripts
-rpmq alias --last --qf ''%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
- --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-35s %-s\n\", $1, substr($0,length($1)+2))}' "
+rpmq alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
+ --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' "
rpmq alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]'
#==============================================================================