diff options
Diffstat (limited to 'report-installed-packages.in')
-rwxr-xr-x | report-installed-packages.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |