From 46708d8ef4b757fd55c1583432df56845dc11423 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 12 Aug 2017 21:11:13 +0200 Subject: report-installed-packages.in: add ending --- report-installed-packages.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'report-installed-packages.in') diff --git a/report-installed-packages.in b/report-installed-packages.in index db80ea1..c8267de 100755 --- a/report-installed-packages.in +++ b/report-installed-packages.in @@ -27,6 +27,13 @@ content=$( uniq -d ) +content=$( + ls '/var/cache/pacman/pkg' | \ + sed 's|^\(.*\)-|\1 \0|' | \ + sort -k1,1 | \ + join -1 1 -2 1 -o 1.2 - <(echo "${content}") +) + if [ -z "${to}" ] || [ -z "${from}" ]; then echo "${content}" elif [ -n "${content}" ]; then -- cgit v1.2.3-54-g00ecf