diff options
author | msf <devnull@localhost> | 1998-06-12 19:50:44 +0000 |
---|---|---|
committer | msf <devnull@localhost> | 1998-06-12 19:50:44 +0000 |
commit | d32b57aafa60dccb0af4996e3eed1d127e57be06 (patch) | |
tree | 8094af21125b122d9eda1cb9d3abf1516e6f7bd2 /rpmpopt | |
parent | 10cc4878e97b7feaaaad7ab2a5f634b3dce586bc (diff) | |
download | rpm-d32b57aafa60dccb0af4996e3eed1d127e57be06.tar.gz rpm-d32b57aafa60dccb0af4996e3eed1d127e57be06.tar.bz2 rpm-d32b57aafa60dccb0af4996e3eed1d127e57be06.zip |
Enhanced the '--last' option to include release and version numbers
CVS patchset: 2148
CVS date: 1998/06/12 19:50:44
Diffstat (limited to 'rpmpopt')
-rw-r--r-- | rpmpopt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,5 +54,5 @@ rpm alias --triggerscripts --qf '\ [trigger%{TRIGGERTYPE} script (through %{TRIGGERSCRIPTPROG}) -- %{TRIGGERCONDS}\n\ %{TRIGGERSCRIPTS}\n]' -rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %-27{NAME} %|INSTALLTIME?{%-27{INSTALLTIME:date}}:{(not installed)}|\n' \ - --pipe "sort -r -n | sed 's,^..........,,'" +rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%-27{INSTALLTIME:date}}:{(not installed)}|\n' \ + --pipe "sort -r -n | sed 's,^..........,,' | awk '{printf(\"%-35s %-3s %-3s %2s %-8s %-4s\n\", $1, $2, $3, $4, $5, $6)}' " |