Files
the-void-club/common/travis/show_files.sh

19 lines
428 B
Bash
Executable File

#!/bin/bash
#
# show_files.sh
set -e
export XBPS_TARGET_ARCH="$2"
while read -r pkg; do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
xbps-query --repository=hostdir/binpkgs/bootstrap \
--repository=hostdir/binpkgs \
--repository=hostdir/binpkgs/nonfree \
-i -f "$subpkg" ||
/bin/echo -e "\x1b[33m $subpkg wasn't found\x1b[0m"
done
done < /tmp/templates