diff options
Diffstat (limited to 'xls')
-rwxr-xr-x | xls | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xls b/xls new file mode 100755 index 0000000..126bf23 --- /dev/null +++ b/xls @@ -0,0 +1,12 @@ +#!/bin/sh +# xls PKGS... - list files contained in PKGS (including binpkgs) + +BRANCH=$(git symbolic-ref -q --short HEAD 2>/dev/null) + +for pkg; do + xbps-query \ + --repository=hostdir/binpkgs/$BRANCH \ + --repository=../hostdir/binpkgs/$BRANCH \ + --repository=../../hostdir/binpkgs/$BRANCH \ + -f $pkg +done |