2015-04-10 13:40:02 +00:00
|
|
|
#!/bin/sh
|
2015-04-09 22:53:46 +00:00
|
|
|
#
|
2015-04-10 08:59:28 +00:00
|
|
|
# show_files.sh
|
2015-04-09 22:53:46 +00:00
|
|
|
|
2019-03-06 01:47:54 +00:00
|
|
|
export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
|
2015-04-20 09:39:39 +00:00
|
|
|
|
2019-04-13 16:49:41 +00:00
|
|
|
while read -r pkg; do
|
2015-04-09 22:53:46 +00:00
|
|
|
for subpkg in $(xsubpkg $pkg); do
|
|
|
|
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
2019-04-16 08:59:01 +00:00
|
|
|
xbps-query --repository=$HOME/hostdir/binpkgs \
|
|
|
|
--repository=$HOME/hostdir/binpkgs/nonfree \
|
2020-12-14 20:35:53 +00:00
|
|
|
-i -f "$subpkg" ||
|
|
|
|
/bin/echo -e "\x1b[33m $subpkg wasn't found\x1b[0m"
|
2015-04-09 22:53:46 +00:00
|
|
|
done
|
2019-04-13 16:49:41 +00:00
|
|
|
done < /tmp/templates
|