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