summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-03-07 01:32:42 -0500
committerAllan McRae <allan@archlinux.org>2013-03-10 09:01:56 +1000
commit06d761a0207d579d4976a8c61257516c2b368911 (patch)
treedf124f4fa7f375d08c6200c5886add9b8fe4051a
parentce9fd69eba44d997a660c982a8149fae7acb6a29 (diff)
downloadpacman-06d761a0207d579d4976a8c61257516c2b368911.tar.xz
make paclog-pkglist understand 'downgraded'
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-x[-rw-r--r--]contrib/paclog-pkglist.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/paclog-pkglist.sh.in b/contrib/paclog-pkglist.sh.in
index 908bd4ad..9b3abad4 100644..100755
--- a/contrib/paclog-pkglist.sh.in
+++ b/contrib/paclog-pkglist.sh.in
@@ -72,7 +72,7 @@ nfields == 6 && action == "installed" {
next
}
-nfields == 8 && action == "upgraded" {
+nfields == 8 && (action == "upgraded" || action == "downgraded") {
sub(/\)/, "", upgver)
pkg[pkgname] = upgver
next