void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

show_files.sh (405B)


      1#!/bin/sh
      2#
      3# show_files.sh
      4
      5export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
      6
      7while read -r pkg; do
      8	for subpkg in $(xsubpkg $pkg); do
      9		/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
     10		xbps-query --repository=$HOME/hostdir/binpkgs \
     11				   --repository=$HOME/hostdir/binpkgs/nonfree \
     12				   -i -f "$subpkg" ||
     13					/bin/echo -e "\x1b[33m    $subpkg wasn't found\x1b[0m"
     14	done
     15done < /tmp/templates