From 8b1ac0bf2c0434749f5e7d87d9840c2030228174 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 30 Jul 2014 15:54:20 +0200 Subject: initial import of xtools --- xls | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 xls (limited to 'xls') 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 -- cgit 1.4.1