diff options
Diffstat (limited to 'report-installed-packages.in')
-rwxr-xr-x | report-installed-packages.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/report-installed-packages.in b/report-installed-packages.in index 4bc4344..8883f9a 100755 --- a/report-installed-packages.in +++ b/report-installed-packages.in @@ -10,10 +10,9 @@ fi content=$( ( - ls '/var/lib/pacman/sync' | \ - grep 'testing\.db$' | \ - sed 's|^|/var/lib/pacman/sync/|' | \ - xargs -rn1 bsdtar -tf | \ + find '/var/lib/pacman/sync' -mindepth 1 -maxdepth 1 \ + -name '*testing.db' \ + -exec bsdtar -tf {} \; | \ sed -n ' /\/$/{ s|/$|| |